Layered Grid Graph Scan & Gizmo Performance

Ah, yeah. It most of the time in the grid graph’s OnDrawGizmos method, checking if the graph has changed in any way. It’s hard to avoid this, since the graph can change. It avoids re-generating the gizmo mesh if at all possible. Make sure your graph color is set to SolidColor and that you are not drawing unwalkable nodes. This will speed it up slightly.