Beispiel #1
0
 private void CheckWinCondition()
 {
     if (Yellow.LevelDone && Red.LevelDone && !BusyLoading)
     {
         BusyLoading = true;
         Highscore.AddHighscoreAsync(new Highscore(SceneManager.GetActiveScene().name, uiManager.MovesMade));
         SceneManager.LoadScene(NextScene);
     }
 }