예제 #1
0
 public static void EndLevel()
 {
     if (CurrentMode != PlayMode.Finished)
     {
         Score += Mathf.CeilToInt(LevelTimer) * TimeBonusMultiplier;
     }
     CurrentMode = PlayMode.Finished;
     SoundBoard.StopMusic();
     SoundBoard.PlayFinish();
     GameOverScreen.Show();
 }