Namespace UnityEngine.Localization.SmartFormat.PersistentVariables
Classes
BoolVariable
An IVariable implementation that holds a single bool value.
ByteVariable
An IVariable implementation that holds a single byte value.
DoubleVariable
An IVariable implementation that holds a single double value.
FloatVariable
An IVariable implementation that holds a single float value.
IntVariable
An IVariable implementation that holds a single integer value.
LongVariable
An IVariable implementation that holds a single long value.
NestedVariablesGroup
Provides a reference to a VariablesGroupAsset.
ObjectVariable
An IVariable implementation that can reference an Object instance.
SByteVariable
An IVariable implementation that holds a single signed byte value.
ShortVariable
An IVariable implementation that holds a single short value.
StringVariable
An IVariable implementation that holds a single string value.
UIntVariable
An IVariable implementation that holds a single unsigned integer value.
ULongVariable
An IVariable implementation that holds a single unsigned long value.
UShortVariable
An IVariable implementation 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.