public void OnTriggerEnter(Collider other) { if (other.tag.Equals(parent.tag)) { parent.AddAlly(other.gameObject); } }