internal void OnDestroy() { Util.DebugLog(""); AppLauncherButton.DestroyToolbarButton(); MainGUI.DeSpawn(); foreach (var trajectory in LoadedVesselsTrajectories) { trajectory.Destroy(); } }
internal void OnDestroy() { Util.DebugLog(""); AttachedVessel = null; AppLauncherButton.DestroyToolbarButton(); MainGUI.DeSpawn(); NavBallOverlay.DestroyTransforms(); FlightOverlay.Destroy(); MapOverlay.DestroyRenderer(); Trajectory.Destroy(); DescentProfile.Clear(); }