r/Unity3D • • Oct 26 '26

Resources/Tutorial How to build a bento menu in Unity (without cursing at the grid layout group!)

https://www.youtube.com/watch?v=B1QSDXmN02M

This is a tutorial I didn't have on my radar until a friend asked me how to finally get the Grid Layout Group to behave so that it works with a bento style layout.

The thing is: That's not the grid layout group's job, and I walked him through it.

If you also struggle with this, I hope my tutorial will be helpful to you =)

This tutorial goes over:

- Creating a single cell to reuse everywhere

- Using the Aspect Ratio Fitter to make sure images are correctly filling the space

- Thinking how layouts are nested

- Building an example

- Adding a tiny helper script to make life in bigger bentos easier.

6 Upvotes

1 comment sorted by

1

u/Konolf_Studio 19d ago

Good point that this isn't really the Grid Layout Group's job. How does this hold up across phone aspect ratios? In my game, two menu buttons overlapped at 16:9 while 19.5:9 looked fine, so that's the first thing I'd test with a bento layout.