Example #1
0
 private void OnTriggerEnter(Collider coll)
 {
     // If it comes in contact with the cooking pot
     if (coll.transform.gameObject.CompareTag("Pot"))
     {
         //Debug.Log("Into Pot!");
         CookingPot.AddIngredient(this);
     }
 }