Unity 2D & Layered Grid Graph

I was curious if the LayeredGridGraph supports unity2d?

I’m working on 2d top-down game where characters & ai moves around a building with multiple rooms. The end goal is to have multiple floors in the building and I was curious if I’d be able to use a LayeredGridGraph to navigate the same way I’m using a GridGraph on the 1 floor prototype?

Thanks,

Paul

Hi

Sorry, you will probably not be able to do that.
I guess you could if you made everything with 3D colliders. If 2D colliders were used, there would be no way of separating the layers.

Multiple grid graphs will probably work better.
The graphMask field (search docs) might be a useful thing to explore.