public PathNode GetNode(int x, int y) { return(grid.GetObject(x, y)); }
public bool isWalkablePos(Vector2Int pos) { return(grid.GetObject(pos.x, pos.y).isWalkable); }
public PathNode GetNode(int x, int y) { return(grid.GetObject(x, y)); }
public bool isWalkablePos(Vector2Int pos) { return(grid.GetObject(pos.x, pos.y).isWalkable); }