Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnDisable()

Called when the state is removed or when the state machine is disabled.
Read time 1 minuteLast updated 10 days ago

Definition

public virtual void OnDisable()

Remarks

Use this method to perform any cleanup logic.