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