Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UI systems

Use Unity's different UI systems to add user interfaces to your application.
Read time 1 minuteLast updated 12 days ago

Unity provides three UI systems: UI Toolkit, uGUI, and IMGUI. You can use these systems to create user interfaces (UI) for the Unity Editor and applications made in the Unity Editor.

Topic

Description

Comparison of UI systems in UnityChoose a UI system based on the type of UI you need to develop and the features it requires.
UI ToolkitThe latest UI system, designed for optimized performance across platforms and inspired by standard web technologies. Use UI Toolkit to create extensions for the Unity Editor, and to create runtime UI for games and applications.
uGUI (Unity UI)A GameObject-based UI system for developing runtime UI for games and applications. uGUI uses components and the Game view to arrange, position, and style the UI.
IMGUI (Immediate Mode GUI)A legacy, code-driven UI system that uses the
OnGUI
function to draw and manage UI. Use IMGUI to create custom Inspectors for script components, extensions for the Unity Editor, and in-game debugging displays. It's not recommended for runtime UI.

Additional resources