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