ForceUpdate()
Called when the reference changes so subclasses can refresh any live listeners.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
protected virtual void ForceUpdate()
Remarks
The base implementation does nothing. Subclasses such as LocalizedString and LocalizedAsset<TObject> override this to re-resolve the value and push it to their change events. It runs whenever a property setter on the reference assigns a new value.