示例#1
0
 public void LoadNextLevel()
 {
     if (currentLevel < levelsList.Length)
     {
         builder.DestroyCurrentLevel();
         builder.BuildLevel(levelsList [currentLevel]);
         currentLevel++;
     }
     else
     {
         FinishGame();
     }
 }