Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EnableFallback

Whether to walk the locale fallback chain when the resolving locale has no value for this reference.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule
public bool EnableFallback { get; set; }

Remarks

When this is
true
and the resolving locale has no value, resolution continues through that locale's fallback chain. When it is
false
, a missing value resolves to empty. Assigning a new value re-resolves the reference and notifies any live listeners.