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