Class SystemLocaleSelector | Localization | 0.5.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class SystemLocaleSelector

    Attempts to determine the Locale to use from the system that is running the application.

    Inheritance
    Object
    SystemLocaleSelector
    Namespace: UnityEngine.Localization.Settings
    Syntax
    [Serializable]
    public class SystemLocaleSelector : IStartupLocaleSelector

    Methods

    GetStartupLocale(ILocalesProvider)

    Uses to find a matching Locale from the available locales.

    Declaration
    public Locale GetStartupLocale(ILocalesProvider availableLocales)
    Parameters
    Type Name Description
    ILocalesProvider availableLocales
    Returns
    Type Description
    Locale
    Implements
    IStartupLocaleSelector.GetStartupLocale(ILocalesProvider)
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX