Table of Contents

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
object
IntVarSO
Implements

Properties

Tags

The tags associated with this object.

public GameTagSet Tags { get; }

Property Value

GameTagSet

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

var IntVarSO

The IntVar to convert.

Returns

int