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