Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.resizableWindow

static var resizableWindow: bool;
static bool resizableWindow;
static resizableWindow as bool

Description

Use resizable window in standalone player builds.

By default standalone Windows, Mac and Linux builds use a non-resizable game window. Enabling this makes the window resizable.