Instance
The active settings instance, or null when none is registered.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
public static LocalizationSettings Instance { get; set; }
Remarks
The localization system uses this single active instance for all lookups. It is set automatically when a settings object is enabled, and static members such as LocalizationSettings.SelectedLocale read from it. Use LocalizationSettings.HasSettings to check whether an instance is registered without dereferencing it.