private void Awake()
 {
     dataSaver = FindObjectOfType <DataSaver>();
     nodeGrid  = FindObjectOfType <NodeGrid>();
 }
Exemple #2
0
 public AStar(NodeGrid _grid, PathRequestManager _requestManager)
 {
     grid           = _grid;
     requestManager = _requestManager;
 }