AssetBundleCollectorWindow.uxml 5.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True">
  2. <uie:Toolbar name="Toolbar" style="display: flex; flex-direction: row-reverse;">
  3. <ui:Button text="Save" display-tooltip-when-elided="true" name="SaveButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
  4. <ui:Button text="导出" display-tooltip-when-elided="true" name="ExportButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
  5. <ui:Button text="导入" display-tooltip-when-elided="true" name="ImportButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
  6. <ui:Button text="修复" display-tooltip-when-elided="true" name="FixButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
  7. </uie:Toolbar>
  8. <ui:VisualElement name="PublicContainer" style="background-color: rgb(79, 79, 79); flex-direction: column; border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; border-bottom-width: 5px;">
  9. <ui:VisualElement name="HelpBoxContainer" style="flex-grow: 1;" />
  10. <ui:Button text="Settings" display-tooltip-when-elided="true" name="SettingsButton" />
  11. <ui:VisualElement name="PublicContainer1" style="flex-direction: row; flex-wrap: nowrap; height: 28px;">
  12. <ui:Toggle label="Show Packages" name="ShowPackages" style="width: 196px; -unity-text-align: middle-left;" />
  13. <ui:Toggle label="Show Editor Alias" name="ShowEditorAlias" style="width: 196px; -unity-text-align: middle-left;" />
  14. <ui:Toggle label="Enable Addressable" name="EnableAddressable" style="width: 196px; -unity-text-align: middle-left;" />
  15. <ui:Toggle label="Unique Bundle Name" name="UniqueBundleName" style="width: 196px; -unity-text-align: middle-left;" />
  16. </ui:VisualElement>
  17. <ui:VisualElement name="PublicContainer2" style="flex-direction: row; flex-wrap: nowrap; height: 28px;">
  18. <ui:Toggle label="Location To Lower" name="LocationToLower" style="width: 196px; -unity-text-align: middle-left;" />
  19. <ui:Toggle label="Include Asset GUID" name="IncludeAssetGUID" style="width: 196px; -unity-text-align: middle-left;" />
  20. </ui:VisualElement>
  21. </ui:VisualElement>
  22. <ui:VisualElement name="ContentContainer" style="flex-grow: 1; flex-direction: row;">
  23. <ui:VisualElement name="PackageContainer" style="width: 200px; flex-grow: 0; background-color: rgb(67, 67, 67); border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; border-bottom-width: 5px;">
  24. <ui:Label text="Packages" display-tooltip-when-elided="true" name="PackageTitle" style="background-color: rgb(89, 89, 89); -unity-text-align: upper-center; -unity-font-style: bold; border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; border-bottom-width: 5px; font-size: 12px;" />
  25. <ui:ListView focusable="true" name="PackageListView" item-height="20" virtualization-method="DynamicHeight" style="flex-grow: 1;" />
  26. <ui:VisualElement name="PackageAddContainer" style="height: 20px; flex-direction: row; justify-content: center;">
  27. <ui:Button text=" - " display-tooltip-when-elided="true" name="RemoveBtn" />
  28. <ui:Button text=" + " display-tooltip-when-elided="true" name="AddBtn" />
  29. </ui:VisualElement>
  30. </ui:VisualElement>
  31. <ui:VisualElement name="GroupContainer" style="width: 200px; flex-grow: 0; background-color: rgb(67, 67, 67); border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; border-bottom-width: 5px;">
  32. <ui:Label text="Groups" display-tooltip-when-elided="true" name="GroupTitle" style="background-color: rgb(89, 89, 89); -unity-text-align: upper-center; -unity-font-style: bold; border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; border-bottom-width: 5px; font-size: 12px;" />
  33. <ui:TextField picking-mode="Ignore" label="Package Name" value="filler text" name="PackageName" style="flex-direction: column;" />
  34. <ui:TextField picking-mode="Ignore" label="Package Desc" value="filler text" name="PackageDesc" style="flex-direction: column;" />
  35. <ui:ListView focusable="true" name="GroupListView" item-height="20" virtualization-method="DynamicHeight" style="flex-grow: 1;" />
  36. <ui:VisualElement name="GroupAddContainer" style="height: 20px; flex-direction: row; justify-content: center;">
  37. <ui:Button text=" - " display-tooltip-when-elided="true" name="RemoveBtn" />
  38. <ui:Button text=" + " display-tooltip-when-elided="true" name="AddBtn" />
  39. </ui:VisualElement>
  40. </ui:VisualElement>
  41. <ui:VisualElement name="CollectorContainer" style="flex-grow: 1; border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; border-bottom-width: 5px;">
  42. <ui:Label text="Collectors" display-tooltip-when-elided="true" name="CollectorTitle" style="background-color: rgb(89, 89, 89); -unity-text-align: upper-center; -unity-font-style: bold; border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; border-bottom-width: 5px; font-size: 12px;" />
  43. <ui:VisualElement name="ActiveRuleContainer" style="height: 20px;" />
  44. <ui:TextField picking-mode="Ignore" label="Group Name" name="GroupName" />
  45. <ui:TextField picking-mode="Ignore" label="Group Desc" name="GroupDesc" />
  46. <ui:TextField picking-mode="Ignore" label="Group Asset Tags" name="GroupAssetTags" />
  47. <ui:VisualElement name="CollectorAddContainer" style="height: 20px; flex-direction: row-reverse;">
  48. <ui:Button text="[ + ]" display-tooltip-when-elided="true" name="AddBtn" />
  49. </ui:VisualElement>
  50. <ui:ScrollView name="CollectorScrollView" style="flex-grow: 1;" />
  51. </ui:VisualElement>
  52. </ui:VisualElement>
  53. </ui:UXML>