Quantcast
Channel: Questions in topic: "maintain"
Viewing all articles
Browse latest Browse all 19

Force/Maintain aspect ratio of game/ add black bars on edges/ SOLUTION

$
0
0
Canvas - canvas scaler - UI scale mode - scale with screen size Canvas - canvas scaler - UI scale mode - screen match mode - expand Panel - add component - aspect ratio filter - aspect mode - fit in prent panel - aspect ratio filter - aspect ratio - *whatever aspect ratio you want* *16/9 or 9/16 or anything* it worked for me. I made game in 9:16 aspect ratio, and when I open in 9:18 and 2:3 aspect ratio display, it does add black bars on edges. let me know if you have any other method to make it work.

Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>