- Home /
Question by
kk93 · Jun 05, 2014 at 10:33 AM ·
androidmobilescreen resolution
Unity Mobile: Is there a way to set minimum width/height ratio?
Hello,
Is there a way set "minimum" width/height ratio where, if the screen is more "square" than the minimum, the player gets fixed screen ratio and have the bottom and top of the screen blacked out?
Thanks
Comment
Best Answer
Answer by HarshadK · Jun 05, 2014 at 11:32 AM
Check out Controlling Aspect Ratio in Unity. This is what you are looking for. And obviously you might need to tweak the script a bit to make it work as you want.