ResultPanel.uxml 4.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
  2. <Style src="project://database/Assets/Scenes/WalkDogs/ResultPanel.uss?fileID=7433441132597879392&amp;guid=04f73cd94e38aa549b8fb5997b5c165f&amp;type=3#ResultPanel" />
  3. <ui:VisualElement name="VisualElement" style="flex-grow: initial; flex-shrink: initial; margin-top: 20px;">
  4. <ui:VisualElement name="VisualElement" class="item label" style="flex-direction: row; flex-shrink: initial; flex-grow: initial; width: initial;">
  5. <ui:Label text="&lt;Score&gt;" name="scoreLabel" class="label" style="width: 40%; height: auto; color: rgb(0, 75, 1); -unity-font-style: bold; font-size: 20px;" />
  6. <ui:Label text="10000" name="scoreValue" class="value" style="width: 40%; -unity-font-style: bold; color: rgb(0, 75, 1); font-size: 20px;" />
  7. </ui:VisualElement>
  8. <ui:VisualElement name="VisualElement" class="item" style="flex-grow: 1; flex-direction: row; -unity-font-style: bold; color: rgb(0, 75, 1);">
  9. <ui:Label text="&lt;maxCombo&gt;" name="maxComboLabel" class="label" style="width: 40%; color: rgb(0, 75, 1);" />
  10. <ui:Label text="10000" name="maxComboValue" class="value" style="width: 40%; color: rgb(0, 75, 1);" />
  11. </ui:VisualElement>
  12. <ui:VisualElement name="VisualElement" class="item" style="flex-grow: 1; flex-direction: row; -unity-text-outline-color: rgb(0, 75, 1);">
  13. <ui:Label text="&lt;Perfect&gt;" name="perfectLabel" class="label" style="width: 40%; color: rgb(0, 75, 1); -unity-font-style: bold;" />
  14. <ui:Label text="10000" name="perfectValue" class="value" style="width: 40%; color: rgb(0, 75, 1); -unity-font-style: bold;" />
  15. </ui:VisualElement>
  16. <ui:VisualElement name="VisualElement" class="item" style="flex-grow: 1; flex-direction: row;">
  17. <ui:Label text="&lt;Good&gt;" name="goodLabel" class="label" style="width: 40%;" />
  18. <ui:Label text="10000" name="goodValue" class="value" style="width: 40%; color: rgb(27, 27, 27);" />
  19. </ui:VisualElement>
  20. <ui:VisualElement name="VisualElement" class="item" style="flex-grow: 1; flex-direction: row;">
  21. <ui:Label text="&lt;Poor&gt;" name="poorLabel" class="label" style="width: 40%; color: rgb(166, 0, 0); font-size: 14px;" />
  22. <ui:Label text="10000" name="poorValue" class="value" style="width: 40%; color: rgb(166, 0, 0); font-size: 14px;" />
  23. </ui:VisualElement>
  24. <ui:VisualElement name="VisualElement" class="item" style="color: rgb(166, 0, 0);">
  25. <ui:Label text="&lt;Miss&gt;" name="missLabel" class="label" style="color: rgb(166, 0, 0); font-size: 14px;" />
  26. <ui:Label text="10000" name="missValue" class="value" style="color: rgb(166, 0, 0); font-size: 14px;" />
  27. </ui:VisualElement>
  28. <ui:VisualElement name="VisualElement" class="item" style="flex-grow: 1; background-image: none; margin-top: 20px; margin-bottom: 20px;">
  29. <ui:VisualElement name="VisualElement" style="align-self: center; background-image: url(&quot;project://database/Assets/Packages/2D%20Casual%20UI/Sprite/GUI.png?fileID=21300042&amp;guid=1eaee135ce037439d925cee5e41ce026&amp;type=3#GUI_21&quot;); background-size: 30px 30px; width: 30px; height: 30px;" />
  30. <ui:Label text="&lt;Coin Award&gt;" name="coinLabel" class="label" style="width: 40%; background-image: none; background-size: 30px 30px; color: rgb(255, 223, 0);" />
  31. <ui:Label text="10000" name="coinValue" class="value" style="width: 40%; margin-left: 0; color: rgb(255, 223, 0);" />
  32. </ui:VisualElement>
  33. </ui:VisualElement>
  34. <ui:Button text="&lt;Confirm&gt;" name="confirm" style="flex-grow: 1; flex-direction: row; -unity-font-definition: url(&quot;project://database/Assets/Font/MaoKenZhuYuanTi-MaokenZhuyuanTi-2.ttf?fileID=12800000&amp;guid=50a63638b44907e46a3fa871d63b7d39&amp;type=3#MaoKenZhuYuanTi-MaokenZhuyuanTi-2&quot;); font-size: 18px; -unity-font-style: normal; background-color: rgba(188, 188, 188, 0); width: 50%; align-self: center; border-top-color: rgb(27, 27, 27); border-left-color: rgb(27, 27, 27); border-right-color: rgb(27, 27, 27); border-bottom-color: rgb(27, 27, 27); border-top-width: 1.5px; border-right-width: 1.5px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; -unity-text-outline-color: rgb(27, 27, 27); bottom: 22%; position: absolute;" />
  35. </ui:UXML>