StartupSelector
The selector that chose the startup locale, or null when the chain fell through to the project locale.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
public IStartupLocaleSelector StartupSelector { get; }
Remarks
Set during LocalizationSettings.InitializeAsync. Read it to tell whether a user override was applied at startup or whether the locale came from the project default. Pair it with LocalizationSettings.EvaluateStartupLocale to show both the chosen locale and the one that would have been chosen without the override.
Additional Resources: LocalizationSettings.EvaluateStartupLocale, LocalizationSettings.StartupSelectors