public void HardDifficulty() { GamePrefrences.SetEasyDifficulty(0); GamePrefrences.SetMediumDifficulty(0); GamePrefrences.SetHardDifficulty(1); easySign.SetActive(false); mediumSign.SetActive(false); hardSign.SetActive(true); }
void InitializeVaribles() { if (!PlayerPrefs.HasKey("Game Initialized")) { GamePrefrences.SetEasyDifficulty(0); GamePrefrences.SetEasyDifficultyCoinScore(0); GamePrefrences.SetEasyDifficultyHighScore(0); GamePrefrences.SetMediumDifficulty(1); GamePrefrences.SetMediumDifficultyCoinScore(0); GamePrefrences.SetMediumDifficultyHighScore(0); GamePrefrences.SetHardDifficulty(0); GamePrefrences.SetHardDifficultyCoinScore(0); GamePrefrences.SetHardDifficultyHighScore(0); GamePrefrences.SetMusicState(0); PlayerPrefs.SetInt("Game Initialized", 123); } }