# User Interface (UI)

## UI Toolkit (Recommended)

UI Toolkit can create both Runtime and Editor UI.

| Unity UI                                                                                                                     | Immediate Mode GUI                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| a.k.a. uGUI                                                                                                                  | a.k.a. IMGUI                                                                                                           |
| a runtime-only UI system                                                                                                     | a editor-only UI system                                                                                                |
| uGUI is a GameObject-based UI system that uses Components and the Game View to arrange, position, and style user interfaces. | IMGUI is a code-driven GUI system, and is driven by calls to the `OnGUI()` function on any script which implements it. |
