Beispiel #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Stick")
     {
         Instantiate(stickIgniteEffectPrefab, other.transform.position, Quaternion.identity);
         Destroy(other.gameObject);
         cauldron.AddHeat();
     }
 }