docs.unity3d.com
    Show / Hide Table of Contents

    Class GlobalVariablesGroup

    Inheritance
    Object
    GlobalVariablesGroup
    Namespace: UnityEngine.Localization.SmartFormat.GlobalVariables
    Syntax
    public class GlobalVariablesGroup : ScriptableObject, IVariableGroup, IGlobalVariable, IDictionary<string, IGlobalVariable>, ISerializationCallbackReceiver

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    Boolean

    Item[String]

    Declaration
    public IGlobalVariable this[string name] { get; set; }
    Parameters
    Type Name Description
    String name
    Property Value
    Type Description
    IGlobalVariable

    Keys

    Declaration
    public ICollection<string> Keys { get; }
    Property Value
    Type Description
    ICollection<String>

    SourceValue

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

    Values

    Declaration
    public ICollection<IGlobalVariable> Values { get; }
    Property Value
    Type Description
    ICollection<IGlobalVariable>

    Methods

    Add(KeyValuePair<String, IGlobalVariable>)

    Declaration
    public void Add(KeyValuePair<string, IGlobalVariable> item)
    Parameters
    Type Name Description
    KeyValuePair<String, IGlobalVariable> item

    Add(String, IGlobalVariable)

    Declaration
    public void Add(string name, IGlobalVariable variable)
    Parameters
    Type Name Description
    String name
    IGlobalVariable variable

    Clear()

    Declaration
    public void Clear()

    Contains(KeyValuePair<String, IGlobalVariable>)

    Declaration
    public bool Contains(KeyValuePair<string, IGlobalVariable> item)
    Parameters
    Type Name Description
    KeyValuePair<String, IGlobalVariable> item
    Returns
    Type Description
    Boolean

    ContainsKey(String)

    Declaration
    public bool ContainsKey(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Boolean

    ContainsName(String)

    Declaration
    public bool ContainsName(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Boolean

    CopyTo(KeyValuePair<String, IGlobalVariable>[], Int32)

    Declaration
    public void CopyTo(KeyValuePair<string, IGlobalVariable>[] array, int arrayIndex)
    Parameters
    Type Name Description
    KeyValuePair<String, IGlobalVariable>[] array
    Int32 arrayIndex

    GetEnumerator()

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    IEnumerator

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()

    Remove(KeyValuePair<String, IGlobalVariable>)

    Declaration
    public bool Remove(KeyValuePair<string, IGlobalVariable> item)
    Parameters
    Type Name Description
    KeyValuePair<String, IGlobalVariable> item
    Returns
    Type Description
    Boolean

    Remove(String)

    Declaration
    public bool Remove(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Boolean

    TryGetValue(String, out IGlobalVariable)

    Declaration
    public bool TryGetValue(string name, out IGlobalVariable value)
    Parameters
    Type Name Description
    String name
    IGlobalVariable value
    Returns
    Type Description
    Boolean
    Implements
    IVariableGroup.TryGetValue(String, out IGlobalVariable)

    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