您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

26 行
1.4 KiB

<UXML xmlns="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements">
<VisualElement style="margin-bottom: 4px;">
<Style src="../../Uss/Styles.uss"/>
<Label name="name" text="Field Name" class="unity-base-field__label"/>
<VisualElement style="margin-left: 18px;">
<VisualElement style="flex-direction: row; align-items: center;">
<Label
text="Location"
class="unity-base-field__label"
tooltip="The asset source location to load assets from"/>
<editor:ToolbarMenu name="location-dropdown" text="Type" class="sampler__type-menu"/>
</VisualElement>
<VisualElement style="margin-left: 18px;">
<VisualElement name="fields-container" style="flex-grow: 1;"/>
<TextElement name="location-notes" class="scenario__info-box"/>
</VisualElement>
<VisualElement style="flex-direction: row; align-items: center;">
<Label
text="Asset Role"
class="unity-base-field__label"
tooltip="Asset Roles preprocess assets loaded from the selected asset source location"/>
<editor:ToolbarMenu name="asset-role-dropdown" text="Type" class="sampler__type-menu"/>
</VisualElement>
</VisualElement>
</VisualElement>
</UXML>