ドキュメント

Unity Engine

Unity Engine

OnDisable()

Called when the state machine is unloaded, or goes out of scope in the editor.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Definition

public virtual void OnDisable()

Remarks

Override this method to release resources, clear temporary data, or perform any required cleanup.