Пример #1
0
 public void AddScore(int value)
 {
     clothingIroned += value;
     screenUI.UpdateScore(clothingIroned);
 }
Пример #2
0
 private void OnDisable()
 {
     //When object is disabled, add its score to player score
     screenUI.UpdateScore(score);
 }