Exemplo n.º 1
0
 void OnTriggerEnter(Collider c)
 {
     if (c.tag == "Candy")
     {
         owner.AddNeighbor(c.GetComponent <Candy>());
     }
 }