Ejemplo n.º 1
0
    void Start()
    {
        pathfinding = Pathfinding.Instance;

        map = new Map(MapWidth, MapHeight);

        if (OnMapChange != null)
        {
            OnMapChange();
        }

        pathfinding.CreateNodeGrid();
    }