Ejemplo n.º 1
0
 //set the instance.
 //get a reference of the pathFinding script.
 void Awake()
 {
     instance    = this;
     pathfinding = GetComponent <PathFinding>();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     Grid           = GetComponent <grid>();
     requestManager = GetComponent <pathFindingManager>();
 }