NEW >> CHECK OUT THE UNITY 2022 LTS UPDATE The UI Toolkit Sample Project - Dragon Crashers is now available on the Asset Store. >> Download it from the Asset Store << The UI Toolkit sample demonstrates how you can leverage UI Toolkit for your own applications. This demo involves a full-featured interface over a slice of the 2D project Dragon Crashers, a mini-RPG, using the Unity 2021 LTS UI Toolkit workflow at runtime. This project was developed as a companion piece to the upcoming e-book User interface design and implementation in Unity. The e-book will explain how to use UI features in Unity, mainly the UI Toolkit, to create user interfaces. Available this fall. Preregister here to have the guide emailed to you once it’s live. Some of the actions illustrated in the sample project show you how to: Style with selectors in Unity style sheet (USS) files and use UXML templates Create custom controls, such as a circular meter or tabbed views Customize the appearance of elements like sliders and toggle buttons Use Render Texture for UI overlay effects, USS animations, seasonal themes, and more To try out the project after adding it to your assets, enter Play mode. Please note that UI Toolkit interfaces don’t appear in the Scene view. Instead, you can view them in the Game view or UI Builder. The menu on the left helps you navigate the modal main menu screens. This vertical column of buttons provides access to the five modal screens that comprise the main menu (they stay active while switching between screens). While some interactivity is possible, such as healing the characters by dragging available potions in the scene, gameplay has been kept to a minimum to ensure continued focus on the UI examples. Please try it out and share your thoughts! Do let us know what works as expected, as well as what's missing, confusing or broken. As always if you run into any issues tell us all about it below! Tech info: 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 2021 LTS Uses the 2D Renderer in the URP Uses the following 2D packages: 2D Animation and 2D PSD Importer PS: 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.