You can use different scenes, you can use different sub-portions of the scene enabled based on aspect ratios, or you can just do the anchoring so that it always works.
I almost always just set the anchoring / scaling up so it just works.
Here are some notes on UI Anchoring, Scaling, CanvasScaler, etc:
It can be very fiddly but it is super-powerful once you reach comfort with the UI.
Building upon Praetor’s great post above, let me suggest this approach:
make a quick first draft of your UI.
in the Unity game window change the shape / dimensions of your Game window (you can even make your own resolutions)
see what happens to your UI in this new shape window
iterate and fix your anchors and scalings and whatnot
Make sure you do not overlook the Canvas Scaler settings. Personally I (almost) …
That seems excessive… What is the text of the actual complaint from them?
Make something like this with a fixed aspect ratio (in this case 2:1, maybe you need 3:1 or whatever suits your buttons), and ALL your buttons anchored inside it to never move within that box:
[7337383--891847--fixed_aspect_ratio_box.png]
then anchor that fixed against the bottom center (red dot below).
On the ipad it looks like:
[7337383--891850--ipad.png]
on the iPhone it looks like:
[7337383--891853--iphonex.pn…
1 Like