class in Unity.SmartStrings.PersistentVariables
Implements interfaces:ISerializationCallbackReceiver, IVariable, IVariableValueChanged
Base class for all single source variables. Inherit from this class for storage for a single serialized source value that will send a value changed event when Variable<T0>.Value is changed. This will trigger any localized string that is currently using the variable to update.
| Property | Description |
|---|---|
| Value | The value for this variable. Changing this will trigger the Variable<T0>.ValueChanged event. |
| Method | Description |
|---|---|
| ToString | Returns the string representation of this variable's value. |
| Event | Description |
|---|---|
| ValueChanged | Raised when Variable<T0>.Value changes. |