Version: 2022.1
언어: 한국어

FullScreenMode

enumeration

매뉴얼로 전환

설명

Platform agnostic full-screen mode. Not all platforms support all modes.

This defines how full-screen modes are handled on all platforms.

변수

ExclusiveFullScreenSet 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.
FullScreenWindowSet 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.
MaximizedWindowSet 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.
WindowedSet 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.