Esempio n. 1
0
 /// <summary>
 /// Pauses the time scale and exits
 /// /// </summary>
 public void quit()
 {
     popCon.makePlots();
     popCon.ShowTheBestCreature();
     Time.timeScale = Mathf.Approximately(Time.timeScale, 0.0f) ? 1.0f : 0.0f;
     ScreenCapture.CaptureScreenshot("LastCritter" + ".png");
     Application.Quit();
 }