示例#1
0
 // Send to the Modal Panel to set up the Buttons and Functions to call - used in EnemyCountManager Script.
 public void RestartQuitNext()
 {
     originalTimeScale = Time.timeScale;
     //Time.timeScale = 0;
     winPanel.WinChoice("VICTORY!", myRestartAction, myQuitAction, myNextLevelAction);
     scoreManager.DisplayEndScore();
     GameControl.control.Save();
 }