示例#1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Ai" || other.tag == "Dino")
     {
         AIControl aiControl = other.GetComponent <AIControl>();
         aiControl.EnterStraight();
     }
 }