docs.unity3d.com
    Show / Hide Table of Contents

    Class SpecificLocaleSelector

    Returns the a specific locale if it exists.

    Inheritance
    Object
    SpecificLocaleSelector
    Namespace: UnityEngine.Localization.Settings
    Syntax
    public class SpecificLocaleSelector : object, IStartupLocaleSelector

    Properties

    LocaleId

    The Id of the Locale that should be used if possible when selecting.

    Declaration
    public LocaleIdentifier LocaleId { get; set; }
    Property Value
    Type Description
    LocaleIdentifier

    Methods

    GetStartupLocale(ILocalesProvider)

    Returns the Locale that matches LocaleId or null if one could not be found.

    Declaration
    public Locale GetStartupLocale(ILocalesProvider availableLocales)
    Parameters
    Type Name Description
    ILocalesProvider availableLocales
    Returns
    Type Description
    Locale
    Implements
    IStartupLocaleSelector.GetStartupLocale(ILocalesProvider)
    Back to top
    Terms of use
    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