void OnTriggerExit(Collider other) { Boid boid = other.GetComponentInParent <Boid>(); boid.ExitBoundary(this); }