示例#1
0
 public void ChangeLevel()
 {
     if (stageGenerator.AreLevelsLeft())
     {
         Time.timeScale = 1;
         stageGenerator.GenerateLevel();
     }
     else
     {
         GameData.Get().SetData(player.GetFullScore(), timeInLvlI, stageGenerator.GetMode(), true);
         SceneManager.LoadScene(3);
     }
 }