Method OnDestroy OnDestroy() Called when this system is destroyed. Declaration protected override void OnDestroy() Overrides ComponentSystemBase.OnDestroy()