Can LayerGridGraph work with ProceduralGridMover?

I managed to get this to work properly.

I had to change the following:

  1. Add layerIndex to the grid reorganization in UpdateGraphCoroutine
  2. Change UpdateNodePositionCollision to use logic from RecalculateCell. Send nodes by ref
  3. When adding a new layer, add it to a reference of nodes, not the grid’s nodes
  4. Change CalculateConnections to LayerGrid version
  5. After update all nodes in move function, set graph nodes to this array
  6. Call post stuff. Forget if this was necessary

I might have forgotten something but that was basically it. It can now scan procedural worlds with layers quickly.