public override bool perform(GameObject agent) { Debug.Log("...Moving to new position"); if (aILogic.isPathSafe) { aILogic.GoToPosition(); isComplete = true; return(true); } else { return(false); } }
public override bool perform(GameObject agent) { Debug.Log("...Moving to new position"); if (aILogic.isPathSafe) { aILogic.GoToPosition(); isComplete = true; return(true); } else { return(false); } }