docs.unity3d.com

Localization 1.5.1

Search Results for

    Show / Hide Table of Contents

    Method GetTableEntry

    GetTableEntry(TableReference, TableEntryReference, Locale, FallbackBehavior)

    Returns the entry from the requested table. A table entry will contain the localized item and metadata. Uses WaitForCompletion to force the loading to complete synchronously. Please note that WaitForCompletion is not supported on WebGL.

    Declaration
    public virtual LocalizedDatabase<TTable, TEntry>.TableEntryResult GetTableEntry(TableReference tableReference, TableEntryReference tableEntryReference, Locale locale = null, FallbackBehavior fallbackBehavior = FallbackBehavior.UseProjectSettings)
    Parameters
    Type Name Description
    TableReference tableReference

    The table identifier. Can be either the name of the table or the table collection name Guid.

    TableEntryReference tableEntryReference

    A reference to the entry in the table.

    Locale locale

    The Locale to load the table from. Null will use SelectedLocale.

    FallbackBehavior fallbackBehavior

    A Enum which determines if a Fallback should be used when no value could be found for the Locale.

    Returns
    Type Description
    LocalizedDatabase<TTable, TEntry>.TableEntryResult

    The table entry result which contains the table

    In This Article
    • GetTableEntry(TableReference, TableEntryReference, Locale, FallbackBehavior)
    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)