unity-ui

Installation
SKILL.md

Unity UI Systems

Unity provides three UI frameworks. UI Toolkit is the recommended system for new projects. uGUI remains supported for legacy and certain runtime use cases. IMGUI is strictly for Editor tooling and debugging.

UI System Comparison

Feature UI Toolkit uGUI (Canvas) IMGUI
Recommended for new projects Yes No (legacy) No
Runtime game UI Yes Yes Not recommended
Editor extensions Yes No Yes
Approach Web-inspired (UXML + USS + C#) GameObject + Component Code-only (OnGUI)
Layout system Flexbox (Yoga) RectTransform + Anchors Immediate mode
Styling USS stylesheets Per-component properties GUIStyle / GUISkin
Visual authoring UI Builder Scene View None
Performance Optimized retained mode Canvas batching Redraws every frame
Data binding SerializedObject + Runtime binding Manual via code Manual via code
World-space UI Supported Canvas World Space mode Not supported
Input integration Pointer/Keyboard events EventSystem + Raycasters Event.current
Related skills
Installs
16
GitHub Stars
14
First Seen
Mar 19, 2026