// Use this for initialization void Start() { _nodeGraph = new List<Node>(); _agents.AddRange(FindObjectsOfType<Agent>()); PathFinder = GetComponent<PathFinder>(); StartCoroutine(PerformUpdate()); }
public abstract List<Node> PropagateSense(PathFinder pathFinder, Vector3 startPosition, Vector3 endPosition);
public override List<Node> PropagateSense(PathFinder pathFinder, Vector3 startPosition, Vector3 endPosition) { var list = pathFinder.CalculateSensingPath(startPosition, endPosition); return list; }
public override List<Node> PropagateSense(PathFinder pathFinder, Vector3 startPosition, Vector3 endPosition) { throw new NotImplementedException(); }