Exemplo n.º 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;
 }
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;
 }
Exemplo n.º 3
0
 public void LoadPlayScene()
 {
     mainGui.Destroy();
     battleGui.Create();
     scene.Create();
 }