Namespace UnityEngine.Localization.SmartFormat.PersistentVariables
Classes
BoolVariable
A IVariable that holds a single bool value.
ByteVariable
A IVariable that holds a single byte value.
DoubleVariable
A IVariable that holds a single double value.
FloatVariable
A IVariable that holds a single float value.
IntVariable
A IVariable that holds a single integer value.
LongVariable
A IVariable that holds a single long value.
NestedVariablesGroup
Provides a reference to a VariablesGroupAsset.
ObjectVariable
A IVariable that can reference an
SByteVariable
A IVariable that holds a single signed byte value.
ShortVariable
A IVariable that holds a single short value.
StringVariable
A IVariable that holds a single string value.
UIntVariable
A IVariable that holds a single unsigned integer value.
ULongVariable
A IVariable that holds a single unsigned long value.
UShortVariable
A IVariable that holds a single unsigned short value.
Variable<T>
Base class for all single source variables. Inhterit from this class for storage for a single serialized source value that will send a value changed event when Value is changed. This will trigger any LocalizedString that is currently using the variable to update.
VariablesGroupAsset
Collection of IVariable that can be used during formatting of a localized string.
Interfaces
IMetadataVariable
Adds support for querying the Metadata in a Smart String.
IVariable
Represents a variable that can be provided through a global VariablesGroupAsset or as a local variable through LocalizedString instead of as a string format argument. A variable can be a single variable, in which case the value should be returned in GetSourceValue(ISelectorInfo) or a class with multiple variables which can then be further extracted with additional string format arguments.
IVariableGroup
Collection that contains IVariable.
IVariableValueChanged
Provides the ability to trigger an automatic update of a LocalizedString when ValueChanged is invoked.