Example #1
0
 void Awake()
 {
     requestManager = GetComponent <PathRequestManager>();
     grid           = GetComponent <Grid>();
 }
Example #2
0
 private void Awake()
 {
     _instance    = this;
     _pathfinding = GetComponent <Pathfinding>();
 }