Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetFullScreenMode()

Gets the full-screen mode of the window.
Read time 1 minuteLast updated 13 days ago

Definition

public FullScreenMode GetFullScreenMode()

Returns

Type

Description

FullScreenModeThe FullScreenMode of the window.

Examples

using UnityEngine;using UnityEngine.Windowing;public class FullScreenModeExample : MonoBehaviour{ void Start() { var window = GameWindow.Main; FullScreenMode mode = window.GetFullScreenMode(); Debug.Log($"Fullscreen mode: {mode}"); }}