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