docs.unity.cn
    Show / Hide Table of Contents

    Namespace UnityEngine.Localization.SmartFormat.PersistentVariables

    Classes

    BoolVariable

    A IVariable that holds a single bool value.

    FloatVariable

    A IVariable that holds a single float value.

    IntVariable

    A IVariable that holds a single integer value.

    NestedVariablesGroup

    Provides a reference to a VariablesGroupAsset.

    ObjectVariable

    A IVariable that can reference an instance.

    StringVariable

    A IVariable that holds a single string 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.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, October 28, 2021