Class StringVariable
- Namespace
- CodeBase.SharedVariable
- Assembly
- 4Experience.CodeBase.SharedVariables.Runtime.dll
[CreateAssetMenu(menuName = "4Experience/Shared Variable/StringVariable")]
public class StringVariable : SharedVariable
- Inheritance
-
Object
ScriptableObject
StringVariable
- Inherited Members
-
- Extension Methods
-
Fields
currentValue
protected string currentValue
Field Value
- string
initialValue
[SerializeField]
protected string initialValue
Field Value
- string
Properties
CurrentValue
public string CurrentValue { get; set; }
Property Value
- string
InitialValue
protected string InitialValue { get; }
Property Value
- string
Methods
OnAfterDeserialize()
public void OnAfterDeserialize()
OnBeforeSerialize()
public void OnBeforeSerialize()
Events
OnValueChanged
public event Action<string> OnValueChanged
Event Type
- Action<string>