Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StartupSelectors

The startup locale selectors, evaluated in order to pick the selected locale on initialization.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule
public List<IStartupLocaleSelector> StartupSelectors { get; }

Remarks

During LocalizationSettings.InitializeAsync these IStartupLocaleSelector instances are evaluated in order and the first non-null result becomes the selected locale, falling back to LocalizationSettings.ProjectLocale. The default chain is a CommandLineLocaleSelector followed by a SystemLocaleSelector.