Example #1
0
 internal void OnApplicationQuit()
 {
     Util.Log("Ending after {0} seconds", Time.time);
     AppLauncherButton.Destroy();
     MainGUI.Destroy();
     foreach (var trajectory in LoadedVesselsTrajectories)
     {
         trajectory.Destroy();
     }
     if (Settings != null)
     {
         Settings.Destroy();
     }
     Settings = null;
 }
Example #2
0
 internal void OnApplicationQuit()
 {
     Util.Log("Ending after {0} seconds", Time.time);
     AttachedVessel = null;
     AppLauncherButton.Destroy();
     MainGUI.Destroy();
     NavBallOverlay.Destroy();
     FlightOverlay.Destroy();
     MapOverlay.Destroy();
     Trajectory.Destroy();
     DescentProfile.Destroy();
     if (Settings != null)
     {
         Settings.Destroy();
     }
     Settings = null;
 }