Method OnDestroy OnDestroy() See MonoBehaviour. Declaration protected override void OnDestroy() Overrides XRBaseInteractable.OnDestroy()