Documentation

Unity Engine

Unity Engine

OnDisable()

Called when the tool is destroyed.
Read time 1 minuteLast updated a month ago

Definition

public virtual void OnDisable()

Remarks

Unity calls this method when the tool is destroyed. Additional Resources: ScriptableObject.OnDisable().