Esempio n. 1
0
 void Start()
 {
     PathFindingRequestDFS.RequestPath(transform.position, target.position, OnPathFound);
 }
 void Awake()
 {
     instance    = this;
     pathfinding = GetComponent <PathfindingDFS>();
 }
 void Awake()
 {
     requestManager = GetComponent <PathFindingRequestDFS>();
     grid           = GetComponent <Grid> ();
 }