Exemple #1
0
 private void LoadNextLevel()
 {
     if (levelsManager.IsOnLastLevel())
     {
         Progress.PlanetCompleted(levelsManager.GetCurrentPlanet());
     }
     currentLevel = levelsManager.LoadNextLevel();
     StartNewLevel();
     onNewLevelLoaded?.Invoke(currentLevel);
 }