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

11 行
586 B

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:VisualElement name="screen" class="screen">
<Style src="Menu.uss" />
<Style src="TitleScreen.uss" />
<ui:VisualElement name="button-panel" class="title-screen-pane">
<ui:Button name="start" text="Start" class="button" />
<ui:Button name="options" text="Options" class="button" />
<ui:Button name="about" text="About" class="button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>