protected Node goToExit3(Transform target) { evacuatingAgent eA = target.GetComponent <evacuatingAgent>(); nearestExit3 = eA.nearestTrans; return(new Sequence(this.ST_ApproachAndWait(target.transform, nearestExit3.transform))); }
protected Node CheckFoundExitPoint(GameObject CurrentPerson) { evacuatingAgent eA = CurrentPerson.GetComponent <evacuatingAgent>(); return(new LeafAssert(() => (eA.foundExit == true))); }