Пример #1
0
 public override void OnTargetArrived(MAnimalBrain brain, Transform Target, int index)
 {
     if (Target)
     {
         brain.SetLastWayPoint(Target);                  //Set as Last waypoint the target you have arrived
         brain.AIMovement.SetNextTarget();               //Listen to the OnTarget Arrive to then Make the Next Target
     }
 }