ドキュメント

Unity Engine

Unity Engine

ForceUpdate()

Called when the reference changes so subclasses can refresh any live listeners.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.