GetStartupLocale(LocalizationSettings)
Returns the locale to select, or null to defer to the next selector.
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Method
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
Locale GetStartupLocale(LocalizationSettings settings)
Parameters
The localization settings whose locales the selector chooses from.
Returns
Type | Description |
|---|---|
| Locale | The locale to use as the startup locale, or null to let the next selector in the chain decide. |
Remarks
Look a locale up on with LocalizationSettings.GetLocale. A disabled locale returned here is skipped during startup selection, so the next selector runs instead.
settings