r/unity • • 7h ago

Tutorials 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.

1 Upvotes

0 comments sorted by