Method OnDisable OnDisable() Base class implementation makes sure the priority queue remains up-to-date. Declaration protected virtual void OnDisable()