ProjectLocale
The default project locale used when no other locale is selected.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
public Locale ProjectLocale { get; set; }
Remarks
This locale is the fallback that LocalizationSettings.InitializeAsync selects when none of the LocalizationSettings.StartupSelectors returns a locale, and the value LocalizationSettings.SelectedLocale falls back to. Setting it stores the locale's code; getting it resolves that code through LocalizationSettings.GetLocale, so the locale must be one of the LocalizationSettings.AvailableLocales.