Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Essentials
Tutorial Projects
1/19
This official UI Toolkit project provides game interfaces that showcase UI Toolkit and UI Builder workflows for runtime games. Explore this project with its companion e-book for more great tips.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
6000.0.24f1
Not compatible
Compatible
Not compatible
2022.3.11f1
Not compatible
Compatible
Not compatible
2021.3.7f1
Not compatible
Compatible
Not compatible
Additional compatibility information

This package was created with URP for Unity 2021 LTS and updated for Unity 2022 LTS. It has also been updated to Unity 6

Description

UI Toolkit Sample – Dragon Crashers was developed by Unity to showcase some of the workflows included in the e-book User interface design and implementation in Unity. The e-book explains how to use UI features in Unity, mainly the UI Toolkit, to create user interfaces.


This demo uses UI Toolkit with UXML and USS files to recreate common game interface layouts and styles, showing both simple and more advanced use cases. The naming convention and structure of the demo can also be used as a reference for creators starting projects with UI Toolkit.


Actions illustrated in the demo include how to:

  • Style with selectors in USS files and use UXML templates
  • Create custom controls such as a circular progress bar or tabbed views
  • Customize the appearance of elements such as sliders or toggle buttons
  • Use Render Texture effects for UI overlay effects
  • Apply USS animations, seasonal themes, and more
  • Handle different screen ratios, particularly, changes of UI styling at runtime between portrait and landscape mobile screen orientations
  • Use the SafeArea API to contain UI functionality within the usable screen area of your device
  • Follow design patterns for clean UI architecture to ensure scalability and maintainability.
  • Bind data to the UI using UI Toolkit's databinding
  • Includes Localization, you can see examples of localization tables for strings and images, you can change the language from the settings menu

All of the content in this demo can be added into your own Unity projects.

To try the demo after adding it to your assets, enter Play mode. Please note that UI Toolkit interfaces don’t show in the Scene view. Instead, see the interface in the Game view or UI Builder.


Note: When you open UI Builder, make sure you select the right theme so the elements in UI Builder match how they appear in the Game view. Themes are selectable in the ViewPort menu, next to the Preview button


This demo has been tested on popular desktops and across common iOS and Android devices. It’s made in Unity 6 and uses the 2D Renderer in the Universal Render Pipeline (URP).


If you’re interested in the 2D graphics and gameplay in the UI Toolkit sample, check out the e-book 2D game art, animation, and lighting for artists.


Distributed under the Unity Companion License (“License”). Unity Technologies ApS (“Unity”) grants to you a worldwide, non-exclusive, no-charge, and royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute the software that accompanies this License, subject to the following restrictions, terms, and conditions. Link

Technical details

We recommend that you open a new empty project to view this sample project because it imports assets into the root/Assets folder.

  • Made for Unity 6
  • Uses the 2D Renderer in the URP
  • Uses the following 2D packages: 2D Animation and 2D PSD Importer

Dragon Crashers - UI Toolkit Sample project

(32)
1387 users have favourite this asset
(1387)
FREE
747 views in the past week
a month ago
Thank you sooo much!!!!
I don't know who made this or why they felt compelled to share this knowledge, but I am incredibly grateful! Thank you soo much! I am learning an incr...
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR