I’ve spent my day making a main menu for my game, but I can’t get the scaling to work properly. I have a background image, a main title and three buttons that need to scale according to screen size. Is there a simple way to make this work?
This is what my hierarchy looks like, if it helps at all.
There are many aspects which govern scaling of New UI. To scale your UI Buttons, Text etc with change of width and height of game screen. Set the Screen Match Mode and Match in Canvas Scaler as follows.
I would recommend this tutorial for further Understand of new UI. It will help in UI optimization.