GenerateWeightsPanel.uxml 1.1 KB

12345678910111213141516171819
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <UXML xmlns:ui="UnityEngine.UIElements" xmlns:eui="UnityEditor.UIElements" xmlns:aui="UnityEditor.U2D.Animation">
  3. <aui:GenerateWeightsPanel name="GenerateWeightsPanel" picking-mode="Ignore">
  4. <ui:PopupWindow text="Weights">
  5. <ui:VisualElement class="form-row" name ="AssociateBonesControl">
  6. <ui:Label name="AssociateBonesLabel" tooltip="Automatically associate Bones to Sprites if Bones overlay on the Sprite" text="Associate Bones" />
  7. <ui:Toggle name="AssociateBonesField" class="form-editor" value="false" />
  8. </ui:VisualElement>
  9. <ui:VisualElement name="Content">
  10. <ui:VisualElement class="form-row-space" />
  11. <ui:VisualElement class="form-row">
  12. <ui:Button name="GenerateWeightsButton" text="Generate" tooltip="Generate Weights"/>
  13. <ui:Button name="NormalizeWeightsButton" text="Normalize" tooltip="Normalize Weights"/>
  14. <ui:Button name="ClearWeightsButton" text="Clear" tooltip="Clear Weights"/>
  15. </ui:VisualElement>
  16. </ui:VisualElement>
  17. </ui:PopupWindow>
  18. </aui:GenerateWeightsPanel>
  19. </UXML>