예제 #1
0
 void DoLevelTransition()
 {
     canTransition = false;
     levelOutro.PlayThen(delegate
     {
         BeginNextLevel();
     });
 }
예제 #2
0
 void BeginNextLevel()
 {
     RestorePlayers();
     levelIntro.PlayThen(() =>
     {
         BeginLevel(nextLevelIndex);
         nextLevelIndex++;
         canTransition = true;
     });
 }