bool True if the window can be resized manually, false otherwise.
Checks if the window can be resized manually.
The initial value comes from the resizable setting in GameWindowCreationSettings. Use GameWindow.SetIsResizable to change it at runtime.
On QNX, and for a full-screen window on any platform, GameWindow.SetIsResizable has no effect, so this method keeps returning the value the window was created with.
using UnityEngine; using UnityEngine.Windowing;
public class IsWindowResizableExample : MonoBehaviour { void Start() { var window = GameWindow.Main; bool resizable = window.IsResizable(); Debug.Log($"Is window resizable: {resizable}"); } }