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

11 行
704 B

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:Template name="TitleScreen" src="TitleScreen.uxml" />
<ui:Template name="Options" src="Options.uxml" />
<ui:Template name="About" src="About.uxml" />
<UnityRoyale.TitleScreenManager class="screen">
<Style src="TitleScreenManager.uss" />
<ui:Instance template="TitleScreen" name="TitleScreen" class="screen" />
<ui:Instance template="Options" name="OptionsScreen" class="screen" style="display: none;" />
<ui:Instance template="About" name="AboutScreen" class="screen" style="display: none;" />
</UnityRoyale.TitleScreenManager>
</ui:UXML>