public void AddScore(int value) { clothingIroned += value; screenUI.UpdateScore(clothingIroned); }
private void OnDisable() { //When object is disabled, add its score to player score screenUI.UpdateScore(score); }