Class StartupLocaleSelector | Package Manager UI website
docs.unity.cn
    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 © 2019 Unity Technologies
    Generated by DocFX