NewCombatUI.uxml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" MemoryProfiler="Unity.MemoryProfiler.Editor" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
  2. <Style src="project://database/Assets/Editor/UIAsset/root1.uss?fileID=7433441132597879392&amp;guid=0cec9ccaf0232a545bb18d5cbf521518&amp;type=3#root1" />
  3. <ui:VisualElement name="tilte" style="flex-direction: row; flex-wrap: wrap;">
  4. <ui:Button text="Button" display-tooltip-when-elided="true" name="save" />
  5. <ui:Button text="Button" display-tooltip-when-elided="true" name="open" />
  6. </ui:VisualElement>
  7. <ui:ScrollView name="rootsv">
  8. <ui:VisualElement />
  9. <ui:Foldout text="英雄ID:101 guid:1023" name="herodata" style="opacity: 1; visibility: visible; overflow: visible; flex-wrap: nowrap; flex-direction: column;">
  10. <ui:VisualElement name="root1" class="root1">
  11. <ui:VisualElement name="herozhiliao" class="herozhiliao">
  12. <ui:VisualElement name="icon" class="icon" style="background-image: none;" />
  13. <ui:Label text="zidonglabelzidonglabelzidonglabel" display-tooltip-when-elided="true" name="zidonglabel" class="zidonglabel" />
  14. </ui:VisualElement>
  15. <ui:VisualElement name="root2" class="root2">
  16. <ui:VisualElement name="herovalue" class="herovalue" style="background-color: rgb(119, 140, 130);">
  17. <ui:VisualElement name="herovaluegrid" class="herovaluegrid">
  18. <ui:Label text="生命值:" display-tooltip-when-elided="true" name="valuename" class="valuename" style="color: rgb(255, 255, 255); -unity-font-style: bold;" />
  19. <ui:ProgressBar name="valuebar" low-value="61.28" focusable="false" title="100/200101" high-value="100" class="valuebar" style="flex-wrap: nowrap; flex-direction: row; width: 200px; max-width: none; min-width: auto;" />
  20. </ui:VisualElement>
  21. </ui:VisualElement>
  22. <ui:VisualElement name="root3" class="root3" style="margin-left: 10px;">
  23. <ui:Foldout text="伤害信息">
  24. <ui:VisualElement style="flex-direction: row;">
  25. <ui:Label text="Label" display-tooltip-when-elided="true" />
  26. <ui:ProgressBar title="1000" low-value="61.9" name="hrambar" high-value="110.6" style="width: 195px; color: rgb(255, 255, 255); background-color: rgb(255, 255, 255); border-left-color: rgb(0, 0, 0); -unity-background-image-tint-color: rgb(255, 255, 255); height: 22px;" />
  27. </ui:VisualElement>
  28. </ui:Foldout>
  29. <ui:Foldout text="当前buff" name="currbuff" style="margin-left: 0;">
  30. <ui:VisualElement name="buffroot" style="flex-direction: row;">
  31. <ui:VisualElement name="bufficon" style="width: 24px; height: 24px; background-image: url(&apos;project://database/Assets/Art/UIAssets/icon/icon_buff12.png?fileID=2800000&amp;guid=75756f763407ede4fbac023d422db7cb&amp;type=3#icon_buff12&apos;);" />
  32. <ui:Label text="暴击buff:持续时间10S" display-tooltip-when-elided="true" name="buffmessage" />
  33. </ui:VisualElement>
  34. </ui:Foldout>
  35. <ui:TextField picking-mode="Ignore" label="输入行为过滤" value="filler text" text="filler text" />
  36. <ui:Foldout text="英雄行为" name="messagedata" class="messagedata" style="background-color: rgb(89, 89, 89); margin-left: 0;">
  37. <ui:ScrollView name="messagescr" class="messagescr">
  38. <ui:Label text="10.23 使用技能1023" display-tooltip-when-elided="true" name="messagevalue" />
  39. </ui:ScrollView>
  40. </ui:Foldout>
  41. </ui:VisualElement>
  42. </ui:VisualElement>
  43. </ui:VisualElement>
  44. </ui:Foldout>
  45. </ui:ScrollView>
  46. </ui:UXML>