A* Pathfinding Project

GridGraph.CountNodes() null test


#1

Hey,
Could we add a null test (and return 0 when true) to GridGraph.CountNodes() to aid checking whether a Grid Update will work please?
i.e. return null == nodes ? 0 : nodes.Length;
Thanks


#2

Hi

That seems very reasonable. A fix for this will be included in the next update.