Table of Contents

Class ColorVariable

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

Fields

currentValue

protected Color currentValue

Field Value

Color

initialValue

[SerializeField]
protected Color initialValue

Field Value

Color

Properties

CurrentValue

public Color CurrentValue { get; set; }

Property Value

Color

InitialValue

protected Color InitialValue { get; }

Property Value

Color

Methods

OnAfterDeserialize()

public void OnAfterDeserialize()

OnBeforeSerialize()

public void OnBeforeSerialize()

Events

OnValueChanged

public event Action<Color> OnValueChanged

Event Type

Action<Color>