docs.unity3d.com
    Show / Hide Table of Contents

    Class GlobalVariable<T>

    Inheritance
    Object
    GlobalVariable<T>
    BoolGlobalVariable
    FloatGlobalVariable
    IntGlobalVariable
    NestedGlobalVariablesGroup
    StringGlobalVariable
    Namespace: UnityEngine.Localization.SmartFormat.GlobalVariables
    Syntax
    public class GlobalVariable<T> : object, IGlobalVariableValueChanged, IGlobalVariable
    Type Parameters
    Name Description
    T

    Properties

    SourceValue

    Declaration
    public object SourceValue { get; }
    Property Value
    Type Description
    Object
    Implements
    IGlobalVariable.SourceValue

    Value

    Declaration
    public T Value { get; set; }
    Property Value
    Type Description
    T

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Events

    ValueChanged

    Declaration
    public event Action<IGlobalVariable> ValueChanged
    Event Type
    Type Description
    Action<IGlobalVariable>
    Implements
    IGlobalVariableValueChanged.ValueChanged

    Extension Methods

    TupleExtensions.IsValueTuple(Object)
    TupleExtensions.GetValueTupleItemObjects(Object)
    TupleExtensions.GetValueTupleItemObjectsFlattened(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023