Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnDisable()

Called when the state machine is unloaded, or goes out of scope in the editor.
Read time 1 minuteLast updated 12 days ago

Definition

public virtual void OnDisable()

Remarks

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