Version: 2022.1
LanguageEnglish
  • C#

FullScreenMode.FullScreenWindow

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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.