internal void Destroy()
 {
     Util.DebugLog("");
     DescentProfile.Destroy();
     FlightOverlay.Destroy();
     NavBallOverlay.Destroy();
     MapOverlay.Destroy();
 }
Exemplo n.º 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;
 }