docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CommandLineLocaleSelector

    Allows for setting the Locale through a command line argument when launching the application.

    Inheritance
    object
    CommandLineLocaleSelector
    Implements
    IStartupLocaleSelector
    Namespace: UnityEngine.Localization.Settings
    Assembly: Unity.Localization.dll
    Syntax
    [Serializable]
    public class CommandLineLocaleSelector : IStartupLocaleSelector

    Properties

    Name Description
    CommandLineArgument

    The command line argument used to assign the locale.

    Methods

    Name Description
    GetStartupLocale(ILocalesProvider)

    Returns the selected locale from the available locales list.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)