Beispiel #1
0
 public void SetBehaviour(Behaviour input)
 {
     if (!BehaviourLock)
     {
         profile          = AIController.instance.GetProfile(input);
         CurrentBehaviour = input;
         InitProfile();
         SetState(State.RequestingNewWaypoint);
     }
 }
Beispiel #2
0
 public void SetDataFromProfile(AIProfileSettings profile)
 {
     stationaryCheckTime   = profile.stationaryCheckTime;
     stationaryDistanceMax = profile.stationaryDistanceMax;
 }