- Home /
Windows Build: Make the game automatically go full-screen but in a window
Hi! I want my game when launched to be in fullscreen but with a window around it and it needs to still have the bottom tab of open apps still there. It also needs to keep the same aspect ratio without stretching.
If I make my game automatically go fullscreen when I launch the game, the game is not in a window and removes the bottom tab.
I have looked at setting the resolution of the game in the script, but the problem with this is that it sets the resolution, but doesn't "attach" to the bottom tab. (For example when chrome is open it covers the entire screen and cant be moved around if in 'fullscreen', but setting the resolution in the script means it can be moved around.)
Sorry if this question is confusing to you guys.
Hope you can help! Thanks.
Answer by Chik3r · Oct 16, 2018 at 02:54 PM
To make your game go fullscreen but still have the bottom bar, you have to:
Go to Player Settings
Inside Player Settings, go to Resolution and Presentation
Now you will find an option that says "Fullscreen Mode", change it to **Maximized Window*
The only problem with this is that it only works in Windows.
Answer by Fattie · Nov 03, 2020 at 04:59 PM
Incredibly, 2020, Unity finally fixed this.
The settings you want are: