This version of Unity is unsupported.

UIBehaviour.OnDestroy

Declaration

protected void OnDestroy();

Description

See MonoBehaviour.OnDestroy.