Method OnDestroy OnDestroy() Declaration protected override void OnDestroy() Overrides ComponentSystemBase.OnDestroy()