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