GetFullScreenMode()
Gets the full-screen mode of the window.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Windowing
- Assembly: UnityEngine.WindowingModule
public FullScreenMode GetFullScreenMode()
Returns
Type | Description |
|---|---|
| FullScreenMode | The 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}"); }}