mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-06 14:45:06 +08:00
6b99b763a7
* ui: adjustments to reactive object UI * ui: toggle creation shortcuts
19 lines
1.1 KiB
Plaintext
19 lines
1.1 KiB
Plaintext
<UXML xmlns:ui="UnityEngine.UIElements" xmlns:ed="UnityEditor.UIElements">
|
|
<ui:VisualElement class="toggled-object-editor">
|
|
<ui:VisualElement class="horizontal">
|
|
<!--<ed:PropertyField binding-path="Object" label="" name="f-object" class="f-object"/>-->
|
|
<ed:ObjectField label="" name="f-object" class="f-object"/>
|
|
<ui:DropdownField name="f-material-index" binding-path="MaterialIndex"/>
|
|
|
|
<ui:VisualElement style="display:none">
|
|
<ui:TextField binding-path="Object.referencePath" label="" name="f-obj-ref-path"/>
|
|
<ed:ObjectField name="f-obj-target-object" binding-path="Object.targetObject"/>
|
|
<ed:IntegerField binding-path="MaterialIndex" name="f-material-index-int"/>
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
<ui:VisualElement class="horizontal">
|
|
<ui:Label text="reactive_object.material-setter.set-to" class="ndmf-tr"/>
|
|
<ed:PropertyField binding-path="Material" label="" name="f-material"/>
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
</UXML> |