Ejemplo n.º 1
0
 public void GoDownFloor()
 {
     if (CustomRun.instance.IsLastFloor(floorManager.CurrentFloorNumber))
     {
         SaveGameSystem.instance?.DeleteGame();
         GameOverScreen.PlayerWon();
         return;
     }
     if (!LoadingNewFloor)
     {
         LoadingNewFloor = true;
         AudioManager.PlayNextFloor();
         StartCoroutine(LoadNewFloorCoroutine());
     }
 }