Instance
The active settings instance, or null when none is registered.
Read time 1 minuteLast updated 7 days ago
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.