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 GUI class is the interface for Unity's GUI with manual positioning.
See Also: GUI tutorial.
|Global tinting color for all background elements rendered by the GUI.
|Returns true if any controls changed the value of the input data.
|Applies a global tint to the GUI. The tint affects backgrounds and text colors.
|Tinting color for all text rendered by the GUI.
|The sorting depth of the currently executing GUI behaviour.
|Is the GUI enabled?
|The GUI transform matrix.
|The global skin to use.
|The tooltip of the control the mouse is currently over, or which has keyboard focus. (Read Only).
|Begin a group. Must be matched with a call to EndGroup.
|Begin a scrolling view inside your GUI.
|Create a Box on the GUI Layer.
|Bring a specific window to back of the floating windows.
|Bring a specific window to front of the floating windows.
|Make a single press button. The user clicks them and something happens immediately.
|Make a window draggable.
|Draw a texture within a rectangle.
|Draw a texture within a rectangle with the given texture coordinates.
|End a group.
|Ends a scrollview started with a call to BeginScrollView.
|Move keyboard focus to a named control.
|Make a window become the active window.
|Get the name of named control that has focus.
|Make a horizontal scrollbar. Scrollbars are what you use to scroll through a document. Most likely, you want to use scrollViews instead.
|A horizontal slider the user can drag to change a value between a min and a max.
|Make a text or texture label on screen.
|Show a Modal Window.
|Make a text field where the user can enter a password.
|Make a button that is active as long as the user holds it down.
|Scrolls all enclosing scrollviews so they try to make position visible.
|Make a grid of buttons.
|Set the name of the next control.
|Make a Multi-line text area 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.
|Remove focus from all windows.
|Make a vertical scrollbar. Scrollbars are what you use to scroll through a document. Most likely, you want to use scrollViews instead.
|A vertical slider the user can drag to change a value between a min and a max.
|Make a popup window.
|Callback to draw GUI within a window (used with GUI.Window).