How to draw a bounding box around a node with Grid Graph

Hi

I am working on a tower defense.

I am generating some spread out nodes on a Grid Graph. But I’d like to show the player where the grid is that he can place a tower. How could I draw a box around a node that extends to 50% of its distance to its neighbours and have it display in the game view (not just the inspector view)?

Hi

Do you have the pro version?
If so, there is a nice snippet of code in the PathTypes scene for drawing the grid graph from a ConstantPath which might do something similar to what you want.

Thanks I do have pro I’ll have a look!