2024-01-28 13:27:43 +08:00
|
|
|
<ui:UXML
|
|
|
|
xmlns:ui="UnityEngine.UIElements"
|
|
|
|
xmlns:engine="UnityEditor.UIElements"
|
|
|
|
xmlns:ma="nadena.dev.modular_avatar.core.editor"
|
|
|
|
editor-extension-mode="False"
|
|
|
|
>
|
2024-01-27 19:06:22 +08:00
|
|
|
<ui:VisualElement name="MiniDisplay">
|
|
|
|
<ui:Label text="merge_parameter.ui.defaultValue" class="ndmf-tr"/>
|
2024-01-28 13:27:43 +08:00
|
|
|
<ma:DefaultValueField/>
|
2024-01-27 19:06:22 +08:00
|
|
|
<ui:Label text="merge_parameter.ui.saved" class="ndmf-tr"/>
|
|
|
|
<ui:Toggle binding-path="saved"/>
|
|
|
|
</ui:VisualElement>
|
|
|
|
|
|
|
|
<ui:Foldout name="ParameterConfigRoot" text="(placeholder)" value="false">
|
|
|
|
<engine:PropertyField binding-path="nameOrPrefix" label="merge_parameter.ui.name" name="f-name" class="ndmf-tr ParameterConfig__isPrefix_falseOnly" />
|
|
|
|
<engine:PropertyField binding-path="nameOrPrefix" label="merge_parameter.ui.prefix" name="f-prefix" class="ndmf-tr ParameterConfig__isPrefix_trueOnly" />
|
|
|
|
<engine:PropertyField binding-path="remapTo" label="merge_parameter.ui.remapTo" name="remapTo" class="ndmf-tr" />
|
2024-02-04 19:44:37 +08:00
|
|
|
<ui:TextField label="merge_parameter.ui.remapTo" text="merge_parameter.ui.remapTo.automatic" name="remapToPlaceholder" enabled="false" class="ndmf-tr unity-base-field__aligned" />
|
2024-01-27 19:06:22 +08:00
|
|
|
|
2024-01-28 13:27:43 +08:00
|
|
|
<!-- this field is not visible until it's moved into the PropertyField below -->
|
|
|
|
<ma:DefaultValueField
|
|
|
|
name="innerDefaultValueField"
|
|
|
|
class="unity-base-field__input unity-property-field__input"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<engine:PropertyField binding-path="defaultValue" name="defaultValueProp" label="merge_parameter.ui.defaultValue" class="ndmf-tr ParameterConfig__isPrefix_falseOnly">
|
|
|
|
|
|
|
|
</engine:PropertyField>
|
2024-01-27 19:06:22 +08:00
|
|
|
|
|
|
|
<engine:PropertyField binding-path="saved" label="merge_parameter.ui.saved" class="ndmf-tr ParameterConfig__isPrefix_falseOnly" />
|
|
|
|
|
|
|
|
<ui:Foldout text="merge_parameter.ui.details" class="ndmf-tr" value="false">
|
|
|
|
<engine:PropertyField binding-path="internalParameter" label="merge_parameter.ui.internalParameter" name="internalParameter" class="ndmf-tr" />
|
|
|
|
<engine:PropertyField binding-path="isPrefix" label="merge_parameter.ui.isPrefix" name="isPrefix" class="ndmf-tr" />
|
|
|
|
<engine:PropertyField binding-path="syncType" label="merge_parameter.ui.syncType" class="ParameterConfig__isPrefix_falseOnly ndmf-tr" />
|
|
|
|
<engine:PropertyField binding-path="localOnly" label="merge_parameter.ui.localOnly" class="ParameterConfig__isPrefix_falseOnly ndmf-tr" />
|
|
|
|
</ui:Foldout>
|
|
|
|
|
|
|
|
</ui:Foldout>
|
|
|
|
|
|
|
|
</ui:UXML>
|