예제 #1
0
    void OnTriggerEnter(Collider other)
    {
        Boid boid = other.GetComponentInParent <Boid>();

        boid.EnterBoundary(this);
    }