Version: 2022.3
言語: 日本語

FullScreenMode

enumeration

マニュアルに切り替える

説明

Sets the full-screen mode. See the description of each mode for information on platform compatibility.

変数

ExclusiveFullScreenWindows platforms only. Sets your application so it has sole full-screen use of a display. Unlike FullScreenMode.FullScreenWindow, this mode changes the operating system resolution of the display to match the application's chosen resolution. On platforms other than Windows, this mode falls back to FullScreenMode.FullScreenWindow.
FullScreenWindowAll platforms. Sets your application 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 your application at the resolution set by a script, or the native display resolution if no resolution is set, and scales your application to fill the window. Unity adds black bars ('letterboxing') to the rendered output to match the display aspect ratio, to prevent content stretching. The operating system's overlay UI, such as input method editor (IME) window, displays on top of the full-screen window.
MaximizedWindowmacOS platforms only. Sets your application window to the operating system's definition of maximized, which is a full-screen window with a hidden menu bar and dock. On platforms other than macOS, this mode falls back to FullScreenMode.FullScreenWindow.
WindowedDesktop platforms only. Sets your application to a standard, movable window that's not full screen. The size of the window depends on your application's resolution.