What’s new in UI Toolkit
UI Toolkit is a collection of features, resources, and tools for developing user interfaces and Editor extensions. Since 2021 LTS, it supports creating and debugging runtime UI for games and applications with an intuitive workflow that helps artists and designers get started faster.
Key features
Discover the features and learn what you can achieve with UI Toolkit.
UI Toolkit’s dedicated authoring tools include the UI Builder and UI Debugger, inspired by web technologies to offer a familiar experience. Use the UI Builder to visually create and edit UI for games and applications directly in Unity, while the UI Debugger helps you resolve issues quickly.
The font rendering technology of TextMesh Pro has been integrated into UI Toolkit to help you get started without additional plug-ins or packages. You can now use advanced styling capabilities to cleanly render beautiful text at any point size and resolution.
UI Toolkit comes with a dedicated UI animation system that simplifies the production of UI transitions in your projects. This new system even allows the efficient authoring of reusable transitions, the majority of animation in most UI projects, to save you valuable design time.
Set border radius, color, size, and text to create textureless UI elements directly in the UI Toolkit. Stop creating and importing images from Photoshop to significantly reduce the time wasted transitioning between tools, while also lowering the overall memory footprint and build size to scale more efficiently.
UI Toolkit includes a retained mode UI framework that simplifies the development of custom UI for Unity Editor extensions, so you can build unique windows and inspectors to power streamlined workflows for artists, designers, and programmers.
Work and iterate more quickly with global style management and live authoring capabilities.
UI authoring tools and workflows are inspired by standard web technologies for faster onboarding.
Logic in C# code, UI structure in UXML documents, and styling in style sheets make it easier to work on different parts of the UI without collisions.
Get greater control over the performance of your game using Render Hints and dynamic texture atlas.
UI Toolkit can be used alongside IMGUI for the Editor and UGUI for runtime. It’s also compatible with Unity’s new Input System.
Share styles and widgets within or across projects, as well as between the Editor and runtime.
Although Unity recommends using UI Toolkit for new UI development projects, there are still cases where it makes sense to use older systems due to features found in Unity UI (uGUI) and IMGUI. Compare UI systems in Unity to evaluate what works best for you.
Access the UI Toolkit in 2022 LTS from the Unity Hub or LTS download page to harness intuitive authoring tools and collaborative workflows in your projects.
This 130+ page guide will show you how to build sophisticated interfaces with Unity’s two UI systems, Unity UI and UI Toolkit. We introduce UI Toolkit concepts like responsive UI and UI Builder using UI Toolkit Sample – Dragon Crashers.
QuizU is an official Unity sample demonstrating various design patterns and project architecture including MVP, state pattern, managing menu screens, and much more using UI Toolkit.
Read the Unity manual to learn more about UI Toolkit in Unity.
Access the forums to get help from the community and hear the latest about the UI Toolkit in Unity.