- Home /
Question by
DearUnityPleaseAddSerializableDictionaries · Oct 04, 2018 at 01:48 PM ·
resolutionscaleaspect-ratio
Unity Mobile - Lazy way to scale resolution/aspect-ratio?
I designed my game to be run on 1280x720 (consists of UI components and many game objects and so forth).
I was wondering if there was a lazy and quick way to make the game work on all Android/iOS devices?
For instance, have the game fit. On a 1500x720 mobile, there would be black empty rectangles at the left and right edges. On a 1280x1000, there would be a black rectangle at the top, and one at the bottom, if that makes sense.
I.e., fit the 1280x720 game in the middle, and if it doesn't fit exactly, it'll have black spaces on the relevant edges.
A super lazy way to scale the game.
Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612175748im_/https://answers.unity.com/themes/thub/images/avi.jpg)