Namespace UnityEngine.Localization.SmartFormat.GlobalVariables
Classes
BoolGlobalVariable
An IVariable implementation that holds a single bool value.
FloatGlobalVariable
An IVariable implementation that holds a single float value.
GlobalVariable<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.
GlobalVariablesGroup
Collection of IVariable that can be used during formatting of a localized string.
IntGlobalVariable
An IVariable implementation that holds a single integer value.
NestedGlobalVariablesGroup
Provides a reference to a VariablesGroupAsset.
StringGlobalVariable
An IVariable implementation that holds a single string value.
Interfaces
IGlobalVariable
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.
IGlobalVariableValueChanged
Provides the ability to trigger an automatic update of a LocalizedString when ValueChanged is invoked.
IVariableGroup
Collection that contains IVariable.