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

            return list;
        }
Ejemplo n.º 4
0
 public override List<Node> PropagateSense(PathFinder pathFinder, Vector3 startPosition, Vector3 endPosition)
 {
     throw new NotImplementedException();
 }