public void OnTriggerEnter(Collider other) { if (other.tag == "Ingredient") { if (!isBonusZone) { scorer.AddIngredient(other.GetComponent <IngredientScript>().kind); } scorer.AddScore(scoreAmount); } }