I can access the first GridGraph like so: var gg = astarPath.data.gridGraph;
How can I access the second GridGraph?
I can access the first GridGraph like so: var gg = astarPath.data.gridGraph;
How can I access the second GridGraph?
Hi
You can use
GridGraph firstGraph = AstarPath.active.graphs[0] as GridGraph;
GridGraph secondGraph = AstarPath.active.graphs[1] as GridGraph;