Hello, I am trying to implement some very basic pathfinding.
Here is the main excerpt from my code;
A* Pathfinding help
Here is the main excerpt from my code;
Code (csharp):
- using UnityEngine;
- using System.Collections;
- using System.Collections.Generic;
- //Tile class
- public class Tile
- {
- public TileState tileState; //The state of the tile - empty, wall, floor etc
- public int x; //x position (Normalized)
- public int y; //y position (Normalized)
- public int g;...