In Unity I want to achieve the following in a UI/Canvas Scene:
Header text – use 10% of the available screen height, so the font should size accordingly.
In the remaining 90%, add two rows, each with three Cat gameObjects. The height of each object should be (H – 3s)/2, where H is 90% of the screen height, and s is the spacing between each object. This grid should be centered horizontally and vertically on the screen.
Is this possible in Unity? I have messed around with the Grid Layout Group
component but it seems very limited – there’s apparently no option for automatic cell size. If I have to do this with a script that’s fine too.