modular-avatar/Editor/Inspector/MaterialSetter/MaterialSwitchObjectEditor.uxml
nekobako 3be3cfb74a
Refine some UI (#1119)
* feat: warn by color when Shape Changer has an invalid blendshape

* feat: refine reactive components ui layout

* feat: refine ma parameters ui layout
2024-09-13 18:06:45 -07:00

17 lines
722 B
Plaintext

<UXML xmlns:ui="UnityEngine.UIElements" xmlns:ed="UnityEditor.UIElements">
<ui:VisualElement class="horizontal">
<ed:PropertyField name="f-object" binding-path="Object" label=""/>
</ui:VisualElement>
<ui:VisualElement class="horizontal">
<ed:IntegerField name="f-material-index" binding-path="MaterialIndex"/>
<ui:DropdownField name="f-material-index-dropdown"/>
<ed:ObjectField name="f-material-index-original"/>
</ui:VisualElement>
<ui:VisualElement class="horizontal">
<ui:Label text="reactive_object.material-setter.set-to" class="ndmf-tr"/>
<ed:PropertyField name="f-material" binding-path="Material" label=""/>
</ui:VisualElement>
</UXML>