docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSelectedLocaleAsync

    GetSelectedLocaleAsync()

    The current selected Locale. This is the Locale that will be used by default when localizing assets and strings. If InitializationOperation has not been completed yet then this will wait for the AvailableLocales part to complete first. It will not wait for the entire InitializationOperation but just the part that initializes the Locales. See SelectedLocale for a synchronous version that will block until the Locales have been loaded.

    Declaration
    public virtual AsyncOperationHandle<Locale> GetSelectedLocaleAsync()
    Returns
    Type Description
    AsyncOperationHandle<Locale>
    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)