Table of Contents

Class BoolVariable

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

Fields

currentValue

protected bool currentValue

Field Value

bool

initialValue

[SerializeField]
protected bool initialValue

Field Value

bool

Properties

CurrentValue

public bool CurrentValue { get; set; }

Property Value

bool

InitialValue

protected bool InitialValue { get; }

Property Value

bool

Methods

OnAfterDeserialize()

public void OnAfterDeserialize()

OnBeforeSerialize()

public void OnBeforeSerialize()

Events

OnValueChanged

public event Action<bool> OnValueChanged

Event Type

Action<bool>