Class LocalizedTable | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class LocalizedTable

    Inheritance
    System.Object
    LocalizedTable
    LocalizedAssetTable
    StringTableBase
    Namespace: UnityEngine.Localization
    Syntax
    public abstract class LocalizedTable : ScriptableObject

    Properties

    LocaleIdentifier

    The locale this asset table supports.

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

    TableName

    The name of this asset table. Must be unique per locale.

    Declaration
    public string TableName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    AddKey(String)

    Add a new key to the table. Must be unique or it will be ignored.

    Declaration
    public abstract void AddKey(string key)
    Parameters
    Type Name Description
    System.String key

    GetKeys(HashSet<String>)

    Populate the HashSet with all keys in this table. Allows us to collate the keys from multiple locale for the same table name.

    Declaration
    public abstract void GetKeys(HashSet<string> keySet)
    Parameters
    Type Name Description
    HashSet<System.String> keySet

    RemoveKey(String)

    Remove the key if it exists.

    Declaration
    public abstract void RemoveKey(string key)
    Parameters
    Type Name Description
    System.String key

    ReplaceKey(String, String)

    Replace the old key value with the newKey value.

    Declaration
    public abstract void ReplaceKey(string key, string newKey)
    Parameters
    Type Name Description
    System.String key
    System.String newKey
    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