Пример #1
0
 private void GameOver(bool win)
 {
     Debug.Log("Game Over");
     isGameRunning = false;
     if (win)
     {
         _hudController.Win();
         PlayerPrefs.SetInt("SUCCEED_LEVEL1", 1);
     }
     else
     {
         _hudController.Lose();
     }
 }
Пример #2
0
 public void FinishGame()
 {
     _hudController.Win();
     PlayerPrefs.SetInt("SUCCEED_LEVEL3", 1);
     Debug.Log("Finish");
 }