mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-30 02:03:07 +08:00
8418f8e047
* feat: add target renderer to ChangedShape * chore: add test for ShapeChanger target renderer * feat: add override target to MaterialSetter * fix: resolve added AvatarObjectReference * fix: record prefab instance property modifications * refactor: remove unused setter for AvatarObjectReference * refactor: change ChangedShape and MaterialSwitchObject from struct to class * feat: remove override target from ShapeChanger and MaterialSetter * refactor: align flow and code style of ShapeChanger and MaterialSetter * feat: ShapeChanger target migration * fix: add null check * chore: added some comments and nullchecks --------- Co-authored-by: bd_ <bd_@nadena.dev>
15 lines
836 B
Plaintext
15 lines
836 B
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"/>
|
|
<ui:DropdownField name="f-material-index" binding-path="MaterialIndex"/>
|
|
<ui:VisualElement style="display:none">
|
|
<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> |