Interface IStartupLocaleSelector | Localization | 0.8.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Interface IStartupLocaleSelector

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

    Namespace: UnityEngine.Localization.Settings
    Syntax
    public interface IStartupLocaleSelector

    Methods

    GetStartupLocale(ILocalesProvider)

    Determine which Locale should be used.

    Declaration
    Locale GetStartupLocale(ILocalesProvider availableLocales)
    Parameters
    Type Name Description
    ILocalesProvider availableLocales

    The available locales to select from.

    Returns
    Type Description
    Locale

    The selected locale or null.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, August 19, 2020