Version: Unity 6 Beta (6000.0)
LanguageEnglish
  • C#

UnityEngine.IMGUIModule

Suggest a change

Success!

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

Submission failed

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

Cancel

Description

The IMGUI module provides Unity's immediate mode GUI solution for creating in-game and editor user interfaces.


Additional resources: GUI tutorial.

Classes

EventA UnityGUI event.
ExitGUIExceptionAn exception that will prevent all subsequent immediate mode GUI functions from evaluating for the remainder of the GUI loop.
GUIThe GUI class is the interface for Unity's GUI with manual positioning.
GUIContentThe contents of a GUI element.
GUILayoutThe GUILayout class is the interface for Unity gui with automatic layout.
GUILayoutOptionClass internally used to pass layout options into GUILayout functions. You don't use these directly, but construct them with the layouting functions in the GUILayout class.
GUILayoutUtilityUtility functions for implementing and extending the GUILayout class.
GUISettingsGeneral settings for how the GUI behaves.
GUISkinDefines how GUI looks and behaves.
GUIStyleStyling information for GUI elements.
GUIStyleStateSpecialized values for the given states used by GUIStyle objects.
GUITargetAttributeAllows to control for which display the OnGUI is called.
GUIUtilityUtility class for making new GUI controls.

Enumerations

EventModifiersTypes of modifier key that can be active during a keystroke event.
EventTypeTypes of UnityGUI input and processing events.
FocusTypeUsed by GUIUtility.GetControlID to inform the IMGUI system if a given control can get keyboard focus. This allows the IMGUI system to give focus appropriately when a user presses tab for cycling between controls.
ImagePositionHow image and text is placed inside GUIStyle.
PointerTypePointer types.
ScaleModeScaling mode to draw textures with.
TextClippingDifferent methods for how the GUI system handles text being too large to fit the rectangle allocated.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961