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