docs.unity3d.com
    Show / Hide Table of Contents

    Interface IGlobalVariable

    Represents a variable that can be provided through a instead of as a string format argument. A global variable can be a single variable, in which case the value should be returned in the SourceValue or a class with multiple variables which can then be further extracted with additional string format arguments.

    Namespace: UnityEngine.Localization.SmartFormat.GlobalVariables
    Syntax
    public interface IGlobalVariable

    Properties

    SourceValue

    The value that will be used when the smart string matches this variable. This value can then be further used by additional sources/formatters.

    Declaration
    object SourceValue { get; }
    Property Value
    Type Description
    Object

    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