docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property TableEntryReference

    TableEntryReference

    Provides a reference to the entry inside of the table. The entry reference can be the Key or KeyId.

    Declaration
    public TableEntryReference TableEntryReference { get; set; }
    Property Value
    Type Description
    TableEntryReference
    Examples

    This example shows the 2 ways a reference can be set.

    var localizedString = new LocalizedString();
    
    // Table Entry Reference can be set with the name of the Key
    localizedString.TableEntryReference = "Exit Game";
    
    // Or the Key Id
    localizedString.TableEntryReference = 342423423;
    See Also
    SetReference(TableReference, TableEntryReference)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)