Class StartupLocaleSelector | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class StartupLocaleSelector

    Determines what locale should be used when the application starts or does not currently have an active locale.

    Inheritance
    System.Object
    StartupLocaleSelector
    CommandLineLocaleSelector
    SpecificLocaleSelector
    StartupLocaleSelectorCollection
    SystemLocaleSelector
    Namespace: UnityEngine.Localization
    Syntax
    public abstract class StartupLocaleSelector : ScriptableObject

    Methods

    GetStartupLocale(LocalesProvider)

    Determine which Locale should be used.

    Declaration
    public abstract Locale GetStartupLocale(LocalesProvider availableLocales)
    Parameters
    Type Name Description
    LocalesProvider availableLocales

    The available locales to select from.

    Returns
    Type Description
    Locale

    The selected locale or null.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023