docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ApplyLocaleVariant

    ApplyLocaleVariant(Locale)

    Apply all variants for the selected Locale to this GameObject.

    Declaration
    public AsyncOperationHandle ApplyLocaleVariant(Locale locale)
    Parameters
    Type Name Description
    Locale locale

    The Locale to apply to the GameObject.

    Returns
    Type Description
    AsyncOperationHandle

    A handle to any loading operations or default if the operation was immediate.

    ApplyLocaleVariant(Locale, Locale)

    Apply all variants for the selected Locale to this GameObject. When a value cannot be found, the fallback value is used.

    Declaration
    public AsyncOperationHandle ApplyLocaleVariant(Locale locale, Locale fallback)
    Parameters
    Type Name Description
    Locale locale

    The Locale to apply to the GameObject.

    Locale fallback

    The fallback Locale to use when a value does not exist for locale.

    Returns
    Type Description
    AsyncOperationHandle

    A handle to any loading operations or default if the operation was immediate.

    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)