Example #1
0
 public void PlusCount(int plus)//Старт игры и первый порез
 {
     PlaySound(3);
     count = count + plus;
     cut.AddingActivity(count, plus);
     textScore.GetComponent <Text>().text = count.ToString();
     msc.activity += 0.5f;
     if (oneTimeGame2 == true)
     {
         oneTimeGame2 = false;
         PlayerPrefs.SetInt("AllGames", PlayerPrefs.GetInt("AllGames") + 1);
     }
     UpLevelHunting(plus);
 }