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