GameWindow.GetFullScreenMode
Declaration
public FullScreenMode GetFullScreenMode();Возвращаемое значение
FullScreenMode Режим FullScreenMode окна.
Описание
Получить полноэкранный режим окна.
using UnityEngine; using UnityEngine.Windowing;
public class FullScreenModeExample : MonoBehaviour { void Start() { var window = GameWindow.Main; FullScreenMode mode = window.GetFullScreenMode(); Debug.Log($"Fullscreen mode: {mode}"); } }