StartupSelectors
The startup locale selectors, evaluated in order to pick the selected locale on initialization.
阅读时间1 分钟最后更新于 1 个月前
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.