class in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
The GUILayout class is the interface for Unity gui with automatic layout.
See Also: GUI Layout tutorial.
|Begin a GUILayout block of GUI controls in a fixed screen area.
|Begin a Horizontal control group.
|Begin an automatically laid out scrollview.
|Begin a vertical control group.
|Make an auto-layout box.
|Make a single press button.
|Close a GUILayout block started with BeginArea.
|Close a group started with BeginHorizontal.
|End a scroll view begun with a call to BeginScrollView.
|Close a group started with BeginVertical.
|Option passed to a control to allow or disallow vertical expansion.
|Option passed to a control to allow or disallow horizontal expansion.
|Insert a flexible space element.
|Option passed to a control to give it an absolute height.
|Make a horizontal scrollbar.
|A horizontal slider the user can drag to change a value between a min and a max.
|Make an auto-layout label.
|Option passed to a control to specify a maximum height.
|Option passed to a control to specify a maximum width.
|Option passed to a control to specify a minimum height.
|Option passed to a control to specify a minimum width.
|Make a text field where the user can enter a password.
|Make a repeating button. The button returns true as long as the user holds down the mouse.
|Make a Selection Grid.
|Insert a space in the current layout group.
|Make a multi-line text field where the user can edit a string.
|Make a single-line text field where the user can edit a string.
|Make an on/off toggle button.
|Make a toolbar.
|Make a vertical scrollbar.
|A vertical slider the user can drag to change a value between a min and a max.
|Option passed to a control to give it an absolute width.
|Make a popup window that layouts its contents automatically.
Did you find this page useful? Please give it a rating: