playgroundUI.uxml 2.0 KB

12345678910
  1. <ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True">
  2. <Style src="project://database/Assets/UI%20Toolkit/Style/rootStyle.uss?fileID=7433441132597879392&amp;guid=b30eb17a0ca8bf64087af4e59d565fdd&amp;type=3#rootStyle" />
  3. <ui:VisualElement name="VisualElement" style="-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: 28px; -unity-text-align: upper-center; color: rgb(255, 107, 45); -unity-text-outline-color: rgba(105, 202, 255, 0.79); -unity-text-outline-width: 1px;">
  4. <ui:Label text="打发打发十分舒服撒发生" name="gameResult" double-click-selects-word="false" style="width: auto; margin-left: 20px; margin-right: 20px; margin-top: 40px; white-space: normal; color: rgb(24, 24, 24); -unity-text-outline-width: 0.2px;" />
  5. <ui:VisualElement name="btnArea" style="flex-direction: row; justify-content: space-around;">
  6. <ui:Button text="确认拉" name="confirm" class="button" style="height: 30px; -unity-text-outline-width: 0; font-size: 16px; width: 100px; color: rgb(255, 255, 255); background-color: rgba(236, 67, 37, 0.78); border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0;" />
  7. <ui:Button text="Play Again" name="playAgain" class="button" style="height: 30px; font-size: 16px; -unity-text-outline-width: 0; width: 100px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; border-top-width: 0; border-bottom-width: 0; border-right-width: 0; border-left-width: 0; background-color: rgba(136, 245, 22, 0.78); color: rgb(255, 255, 255);" />
  8. </ui:VisualElement>
  9. </ui:VisualElement>
  10. </ui:UXML>