public PathNode(GridPF grid, int x, int y) { this.grid = grid; this.x = x; this.y = y; isWalkable = true; }
private List <PathNode> closedList; //already searched nodes public PathFinding(int width, int height, float cellSize, Vector3 originPosition) { Instance = this; grid = new GridPF(width, height, cellSize, originPosition); }