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

11 行
755 B

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<Style src="Menu.uss" />
<Style src="AboutScreen.uss" />
<UnityRoyale.AboutScreenOperator name="screen" class="screen screen--tinted">
<ui:Label text="Description" name="about-header" class="header" />
<ui:ScrollView class="scroll-view">
<ui:Label text="A card-based tower defence game made using Unity&apos;s Tower Defence assets. Built for mobile from the ground-up. Shocasing UI Toolkit at runtime. " name="about-contents" class="about-contents" />
</ui:ScrollView>
<ui:Button text="Back" name="back-button" class="button" />
</UnityRoyale.AboutScreenOperator>
</ui:UXML>