mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-06 14:45:06 +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>
13 lines
733 B
Plaintext
13 lines
733 B
Plaintext
<UXML xmlns:ui="UnityEngine.UIElements" xmlns:ed="UnityEditor.UIElements">
|
|
<ui:VisualElement class="changed-shape-editor">
|
|
<ui:VisualElement class="horizontal">
|
|
<ed:PropertyField binding-path="Object" label="" name="f-object" class="f-object"/>
|
|
<ed:PropertyField binding-path="ChangeType" label="" name="f-change-type"/>
|
|
</ui:VisualElement>
|
|
<ui:VisualElement class="horizontal">
|
|
<ui:DropdownField name="f-shape-name" binding-path="ShapeName"/>
|
|
<ed:PropertyField binding-path="Value" label="" name="f-value" class="f-value"/>
|
|
<ui:VisualElement name="f-value-delete" class="f-value"/>
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
</UXML> |