Class LongVarSO
- Namespace
- ElectricDrill.AstraRpgFramework.Utils
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
ScriptableObject that holds a long value. Can be used to share a long value between different GameObjects and scenes.
[MovedFrom(true, "ElectricDrill.AstraRpgFramework.Utils", "com.electricdrill.astra-rpg-framework.Runtime", "LongVar")]
[CreateAssetMenu(fileName = "Long Var", menuName = "Astra RPG Framework/Utils/Long Var")]
public class LongVarSO : ScriptableObject, ITaggable
- Inheritance
-
objectLongVarSO
- Implements
Properties
Tags
The tags associated with this object.
public GameTagSet Tags { get; }
Property Value
Value
The long value.
public long Value { get; set; }
Property Value
- long
Operators
implicit operator long(LongVarSO)
Allows implicit conversion from a LongVar to a long.
public static implicit operator long(LongVarSO var)
Parameters
varLongVarSOThe LongVar to convert.
Returns
- long