Table of Contents

Class IntVariable

Namespace
CodeBase.SharedVariable
Assembly
4Experience.CodeBase.SharedVariables.Runtime.dll
[CreateAssetMenu(menuName = "4Experience/Shared Variable/IntVariable")]
public class IntVariable : SharedVariable
Inheritance
Object
ScriptableObject
IntVariable
Inherited Members
Extension Methods

Fields

currentValue

protected int currentValue

Field Value

int

initialValue

[SerializeField]
protected int initialValue

Field Value

int

Properties

CurrentValue

public int CurrentValue { get; set; }

Property Value

int

InitialValue

protected int InitialValue { get; }

Property Value

int

Methods

OnAfterDeserialize()

public void OnAfterDeserialize()

OnBeforeSerialize()

public void OnBeforeSerialize()

Events

OnValueChanged

public event Action<int> OnValueChanged

Event Type

Action<int>