Platform agnostic full-screen mode. Not all platforms support all modes.
This defines how full-screen modes are handled on all platforms.
ExclusiveFullScreen | Set your app to maintain sole full-screen use of a display. Unlike Fullscreen Window, this mode changes the OS resolution of the display to match the app's chosen resolution. This option is only supported on Windows; on other platforms the setting falls back to FullScreenMode.FullScreenWindow. |
FullScreenWindow | Set your app window to the full-screen native display resolution, covering the whole screen. This full-screen mode is also known as "borderless full-screen." Unity renders app content at the resolution set by a script (or the native display resolution if none is set) and scales it to fill the window. When scaling, Unity adds black bars to the rendered output to match the display aspect ratio to prevent content stretching. This process is called letterboxing. The OS overlay UI will display on top of the full-screen window (such as IME input windows). All platforms support this mode. |
MaximizedWindow | Set the app window to the operating system’s definition of “maximized”. This means a full-screen window with a hidden menu bar and dock on macOS. This option is only supported on macOS; on other platforms, the setting falls back to FullScreenMode.FullScreenWindow. |
Windowed | Set your app to a standard, non-full-screen movable window, the size of which is dependent on the app resolution. All desktop platforms support this full-screen mode. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.