기술 자료

Unity Engine

Unity Engine

Instance

The active settings instance, or null when none is registered.
읽는 시간 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.