Grid Layout Group not working for 3d cube

When I add a Grid Layout Group to a panel and add buttons under it they position automatically but this does not work for 3d objects such as a simple cube… How can i fix this?

Thanks

It doesn’t work for 3d objects. It’s for UI elements. :slight_smile:

Thanks. Im creating a word puzzle based on 3d blocks. Grid system was very easy but if that does not apply to 3d objects is adding the blocks and positioning them via script or manually the only option?

I would imagine so. If your world puzzle is a set number/size of blocks, etc… it would make the most sense to simply build that in the scene view (rather than code). If it’s more dynamic, then you’ll require some code.

And just for the record, of course that Grid Layout is also just a script, eh? :slight_smile: It’s code… just happens to not help you with this setup, but ya… heh

makes sense. thanks. no code means less thinking and less grey hair… lol

lol… Well, at some point you’ll be using code unless your game does almost nothing, but I hear ya… :slight_smile:

Enjoy :slight_smile: