暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MeshToolbar.uxml 1.4KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <UXML xmlns:ui="UnityEngine.UIElements" xmlns:aui="UnityEditor.U2D.Animation">
  3. <aui:MeshToolbar name="MeshToolbar">
  4. <ui:PopupWindow name="PopupWindow" text="Geometry">
  5. <ui:Button name="GenerateGeometry" tooltip="Automatically generates mesh geometry.">
  6. <ui:Image name="GenerateGeometryImage" />
  7. <ui:Label text="Auto Geometry"/>
  8. </ui:Button>
  9. <ui:Button name="SelectGeometry" tooltip="Double-click a Sprite to edit its vertices. Add, remove, or change the position of its vertices to change the Sprite's geometry.">
  10. <ui:Image name="SelectGeometryImage" />
  11. <ui:Label text="Edit Geometry"/>
  12. </ui:Button>
  13. <ui:Button name="CreateVertex" tooltip="Creates new vertices on the selected geometry.">
  14. <ui:Image name="CreateVertexImage" />
  15. <ui:Label text="Create Vertex"/>
  16. </ui:Button>
  17. <ui:Button name="CreateEdge" tooltip="Creates new edges on selected geometry.">
  18. <ui:Image name="CreateEdgeImage" />
  19. <ui:Label text="Create Edge"/>
  20. </ui:Button>
  21. <ui:Button name="SplitEdge" tooltip="Splits the edges of selected geometry at the point you hover over.">
  22. <ui:Image name="SplitEdgeImage" />
  23. <ui:Label text="Split Edge"/>
  24. </ui:Button>
  25. </ui:PopupWindow>
  26. </aui:MeshToolbar>
  27. </UXML>