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.

var useGUILayout: bool;
bool useGUILayout;
useGUILayout as bool

Description

Disabling this lets you skip the GUI layout phase.

It can only be used if you do not use GUI.Window and GUILayout inside of this OnGUI call.