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

8 行
468 B

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:VisualElement name="HealthBar" class="health-bar--container">
<Style src="HealthUI.uss" />
<ui:VisualElement name="BarBG" class="health-bar--background" />
<ui:VisualElement name="Bar" class="health-bar--filling" />
<ui:VisualElement name="Frame" class="health-bar--frame" />
</ui:VisualElement>
</ui:UXML>