Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Comparison of UI systems in Unity

Choose a UI system based on the type of UI you need to develop and the features it requires.
Read time 4 minutesLast updated 17 days ago

This page provides a high-level feature comparison of UI Toolkit, uGUI (Unity UI), and IMGUI, and their respective approaches to UI design.

General consideration

The following table lists the recommended and alternative UI system for runtime and Editor:

Unity 6.6

Recommendation

Alternative

RuntimeuGUI (Unity UI)UI Toolkit
EditorUI ToolkitIMGUI

Roles and skill sets

Your team's skill set and comfort level with different technologies is also an important consideration.
The following table lists the recommended system for different roles:

Roles

UI Toolkit

uGUI (Unity UI)

IMGUI

Skill sets

ProgrammerYesYesYesProgrammers can use any game development tool or API.
Technical ArtistPartialYesNoTechnical artists who are familiar with Unity's GameObject-based tools and workflows are likely to be comfortable working with GameObjects, Components, and the Scene view.

They might not be comfortable with UI Toolkit's web-like approach or IMGUI's pure C# approach.
UI DesignerYesPartialNoUI designers who are familiar with UI creation tools are likely to be comfortable with UI Toolkit's document-based approach and can use the UI Builder to visually edit their UI.

If they are not familiar with GameObject-based workflows, they might require help from programmers or level designers.

Innovation and development

UI Toolkit is in active development and releases new features frequently. uGUI and IMGUI are established and production-proven UI systems that are updated infrequently.
uGUI and IMGUI might be better choices if you need features that are not yet available in UI Toolkit, or you need to support or reuse older UI content.

Runtime

UI Toolkit is an alternative to uGUI (Unity UI) if you create a screen overlay UI that runs on a wide variety of screen resolutions. Consider UI Toolkit to do the following:
  • Produce work with a significant amount of user interfaces
  • Require familiar authoring workflows for artists and designers
  • Seek textureless UI rendering capabilities
uGUI is the recommended solution for the following:
  • UI positioned and lit in a 3D world
  • VFX with custom shaders and materials
  • Easy referencing from
    MonoBehaviours

Use Cases

The following table summarizes which system is often used for major runtime use cases:

Unity 6.6

Often used for

Multi-resolution menus and HUD in intensive UI projectsUI Toolkit
World space UI and VRuGUI
UI that requires customized shaders and materialsuGUI

In details

The following table compares support for detailed runtime features across UI systems:

Unity 6.6

UI Toolkit

uGUI

WYSIWYG authoring✅✅
Nesting reusable components✅✅
Layout and Styling Debugger✅✅
In-scene authoring❌✅
Rich text tags✅✅
Scalable text✅✅
Font fallbacks✅✅
Adaptive layout✅✅
Input system support✅✅
Serialized events❌✅
Compatible with Rendering pipelines✅✅
Screen-space (2D) rendering✅✅
World-space (3D) rendering✅✅
Custom materials and shaders✅✅
Sprites / Sprite atlas support✅✅
Rectangle clipping✅✅
Mask clipping✅✅
Nested masking✅✅
Integration with Animation Clips and Timeline❌✅
Data binding system✅❌
UI transition animations✅❌
Textureless elements✅❌
Advanced flexible layout✅❌
Global style management✅❌
Dynamic texture atlas✅❌
UI anti-aliasing✅❌
Right-to-left language and emoji✅❌
SVG support✅❌

Editor

UI Toolkit is recommended if you create complex editor tools. It's recommended for the following reasons:
  • Better reusability and decoupling
  • Visual tools for authoring UI
  • Better scalability for code maintenance and performance
IMGUI is an alternative to UI Toolkit for the following:
  • Unrestricted access to editor extensible capabilities
  • Light API to quickly render UI on screen

Use Cases

The following table lists the recommended system for major Editor use cases:

Unity 6.6

Recommendation

Complex editor toolUI Toolkit
Property drawersUI Toolkit
Collaboration with designersUI Toolkit

In details

The following table lists the recommended system for detailed Editor features:

Unity 6.6

UI Toolkit

IMGUI

WYSIWYG authoring✅❌
Nesting reusable components✅❌
Global style management✅✅
Layout and Styling Debugger✅❌
Rich text tags✅✅
Scalable text✅❌
Font fallbacks✅✅
Adaptive layout✅✅
Default Inspectors✅✅
Inspector: Edit custom object types✅✅
Inspector: Edit custom property types✅✅
Inspector: Mixed values (multi-editing) support✅✅
Array and list-view control✅✅
Data binding: Serialized properties✅✅
Advanced flexible layout✅❌
Right-to-left language and emoji✅❌
SVG support.✅❌

Additional resources