示例#1
0
 public void OnUpdateMove()
 {
     if (state == State.FollowPath)
     {
         StateFollowPassUpdate();
     }
     else if (state == State.Wait)
     {
         StateWaitUpdate();
     }
     else if (state == State.FollowAircraft)
     {
         StateFollowAircraftUpdate();
     }
     else if (state == State.CloseFollow)
     {
         StateCloseFollowUpdate();
     }
     else if (state == State.ToBaseMove || state == State.Landing)
     {
         MoveForward(pathHandlerBase.getNextPoint());
     }
 }