void Awake()
 {
     requestManager = GetComponent<PathRequestManager>();
     grid = GetComponent<Grid>();
 }
 void Awake()
 {
     instance = this;
     pathfinding = GetComponent<Pathfinding>();
 }