how to maintain game’s aspect ratio?

Updated on July 28, 2018 in General
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
2 on July 27, 2018

by adding black bars on top or on sides. I made a game in 16:9 aspect ratio, but when I open game in 18:9 or 3:2 aspect ratio everything turns messy all the buttons and panels and everything. please help

  • Liked by
1 on July 27, 2018

Attached to your canvas object there should be a CanvasScaler component, there you can set the scale mode to ” Scale With Screen Size”, that should make the game adapt to different screen sizes

on July 28, 2018

doesnt work when you open second display with different aspect ratio.

Show more replies
  • Liked by