Question by
Jan182 · Sep 11, 2015 at 12:17 PM ·
javascriptbuttonfullscreenaspect ratiobar
Black bars on top and bottom in aspect ratio?
In my current game I've set a fixed screen size of the game by putting this into my code:
function Start () {
Screen.SetResolution(1366,598,true);
}
The problem is, that the free space in the top and the bottom of the screen is filled with constant flickering. Instead of this I want to replace the flickering thingy with just black, like that I have black bars on top and bottom of the screen.
Does anyone of you have an idea how to get this working?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612033341im_/https://answers.unity.com/themes/thub/images/avi.jpg)