docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetPreloadTableFlag

    GetPreloadTableFlag(LocalizationTable)

    Returns true if the table is marked for preloading.

    Declaration
    public static bool GetPreloadTableFlag(LocalizationTable table)
    Parameters
    Type Name Description
    LocalizationTable table

    The table to query.

    Returns
    Type Description
    bool

    true if preloading is enable otherwise false.

    Examples

    This example shows how to query if a table is marked as preload.

    var collection = LocalizationEditorSettings.GetStringTableCollection("My Strings");
    
    var englishTable = collection.GetTable("en");
    Debug.Log($"Preload: {LocalizationEditorSettings.GetPreloadTableFlag(englishTable)}");
    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)