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-21 19:40:31 +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 disabledPlaceholder"/>
|
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
|
|
|
|
2024-02-12 18:24:35 +08:00
|
|
|
<engine:PropertyField binding-path="saved" label="merge_parameter.ui.saved" class="ndmf-tr ParameterConfig__isPrefix_falseOnly" />"
|
|
|
|
|
|
|
|
<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" />
|
2024-02-21 19:40:31 +08:00
|
|
|
|
|
|
|
<engine:PropertyField binding-path="syncType" label="merge_parameter.ui.syncType"
|
|
|
|
class="ParameterConfig__isPrefix_falseOnly ndmf-tr" name="syncType"/>
|
|
|
|
<engine:PropertyField binding-path="m_overrideAnimatorDefaults" name="overrideDefaults"
|
|
|
|
label="merge_parameter.ui.overrideAnimatorDefaults"
|
|
|
|
class="ParameterConfig__isPrefix_falseOnly ndmf-tr"/>
|
|
|
|
<!-- <ui:Toggle label="merge_parameter.ui.overrideAnimatorDefaults" value="true" enabled="false" name="overridePlaceholder" class="ParameterConfig__isPrefix_falseOnly ParameterConfig__animatorOnly_trueOnly ndmf-tr" /> -->
|
2024-01-27 19:06:22 +08:00
|
|
|
|
2024-02-21 19:40:31 +08:00
|
|
|
<engine:PropertyField binding-path="localOnly" label="merge_parameter.ui.localOnly" class="ParameterConfig__isPrefix_falseOnly ParameterConfig__animatorOnly_falseOnly ndmf-tr" />
|
2024-01-27 19:06:22 +08:00
|
|
|
</ui:Foldout>
|
|
|
|
|
|
|
|
</ui:UXML>
|