Sample project to showcase the use of UI Toolkit for Runtime based on the Unity Royale project.
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

1.1 KiB

UI Toolkit Unity Royale Runtime Demo

Sample project to showcase the use of UI Toolkit for Runtime based on the Unity Royale project.

With this project we demo the use of UXML and USS files to build Runtime UI. Through the use of the UI Builder, you can author UI easily and see the results in the Game View when the UXML is set to a UIDocument Component in the scene, using a PanelSettings Asset to provide information such as scaling.

This demo project is in development and updates/fixes will be done.

Unity Royale is card-based tower defence game made to showcases URP and custom shaders, Addressables, Timeline Signals, and more.

Instalation

Tested with Unity 2020.1.0f1

Contact

If you have any questions about this example, join us on the UI Toolkit Unity Forum.

Building

This project uses Addressables and you need to build those if you want to create an executable of the project. Find the AddressableAssetSettings under Assets/AddressableAssetsData, select "Manage Groups" on the Inspector and click Build