---
title: UnityEngine.IMGUIModule
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/modules/unityengine-imguimodule
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/modules/unityengine-imguimodule.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:32:35.402Z
locale: en-us
---

# UnityEngine.IMGUIModule

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

## Definition

* **Type:** Module

## Remarks

Additional Resources: GUI tutorial.

## Classes

| Class                                                                                   | Description                                                                                                                                                                                                                                                                                          |
| --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ExitGUIException](/engine/7000.0/script-reference/unityengine/exitguiexception.md)     | An exception that will prevent all subsequent immediate mode GUI functions from evaluating for the remainder of the GUI loop.                                                                                                                                                                        |
| [GUI](/engine/7000.0/script-reference/unityengine/gui.md)                               | The GUI class is the interface for Unity's GUI with manual positioning.                                                                                                                                                                                                                              |
| [GUIContent](/engine/7000.0/script-reference/unityengine/guicontent.md)                 | The contents of a GUI element.                                                                                                                                                                                                                                                                       |
| [GUILayout](/engine/7000.0/script-reference/unityengine/guilayout.md)                   | The GUILayout class is the interface for Unity gui with automatic layout. Unlike the standard GUI class which requires manual coordinates, GUILayout arranges controls based on their content and container.                                                                                         |
| [GUILayoutOption](/engine/7000.0/script-reference/unityengine/guilayoutoption.md)       | Class internally used to pass layout options into [GUILayout](/engine/7000.0/script-reference/unityengine/guilayout.md) functions. You don't use these directly, but construct them with the layouting functions in the [GUILayout](/engine/7000.0/script-reference/unityengine/guilayout.md) class. |
| [GUILayoutUtility](/engine/7000.0/script-reference/unityengine/guilayoututility.md)     | Utility functions for implementing and extending the GUILayout class.                                                                                                                                                                                                                                |
| [GUISettings](/engine/7000.0/script-reference/unityengine/guisettings.md)               | General settings for how the GUI behaves.                                                                                                                                                                                                                                                            |
| [GUISkin](/engine/7000.0/script-reference/unityengine/guiskin.md)                       | Defines how GUI looks and behaves.                                                                                                                                                                                                                                                                   |
| [GUIStyle](/engine/7000.0/script-reference/unityengine/guistyle.md)                     | Styling information for GUI elements.                                                                                                                                                                                                                                                                |
| [GUIStyleState](/engine/7000.0/script-reference/unityengine/guistylestate.md)           | Specialized values for the given states used by [GUIStyle](/engine/7000.0/script-reference/unityengine/guistyle.md) objects.                                                                                                                                                                         |
| [GUITargetAttribute](/engine/7000.0/script-reference/unityengine/guitargetattribute.md) | Allows to control for which display the OnGUI is called.                                                                                                                                                                                                                                             |
| [GUIUtility](/engine/7000.0/script-reference/unityengine/guiutility.md)                 | Utility class for making new GUI controls.                                                                                                                                                                                                                                                           |

## Enums

| Enum                                                                          | Description                                                                                                                                                                                                          |
| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [FocusType](/engine/7000.0/script-reference/unityengine/focustype.md)         | Used 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. |
| [ImagePosition](/engine/7000.0/script-reference/unityengine/imageposition.md) | How image and text is placed inside [GUIStyle](/engine/7000.0/script-reference/unityengine/guistyle.md).                                                                                                             |
| [ScaleMode](/engine/7000.0/script-reference/unityengine/scalemode.md)         | Scaling mode to draw textures with.                                                                                                                                                                                  |
| [TextClipping](/engine/7000.0/script-reference/unityengine/textclipping.md)   | Different methods for how the GUI system handles text being too large to fit the rectangle allocated.                                                                                                                |
