예제 #1
0
 public override bool CheckProceduralPrecondition(GameObject agent)
 {
     MyJob = JobController.Instance.AskForJob(Type);
     if (MyJob == null)
     {
         return(false);
     }
     Targets = MyJob.GetPossibleWorkLocations();
     return(true);
 }
예제 #2
0
 public override void Reset()
 {
     IsJobDone = false;
     MyJob     = null;
     SetMinRange(_minRange);
 }