CreateOrAdopt.uxml 2.4 KB

12345678910111213
  1. <engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" 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. <Style src="project://database/Assets/Scenes/Login/LoginStyleSheet.uss?fileID=7433441132597879392&amp;guid=15362e7779c14ad4e93118389edfa6bf&amp;type=3#LoginStyleSheet" />
  4. <engine:VisualElement name="base" style="flex-grow: 1; margin-top: 65px;">
  5. <engine:Label text="Label" name="message" parse-escape-sequences="true" style="height: 20%; margin-top: 15px; background-color: rgb(255, 255, 255); border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; border-left-color: rgba(24, 24, 24, 0.47); border-right-color: rgba(24, 24, 24, 0.47); border-top-color: rgba(24, 24, 24, 0.47); border-bottom-color: rgba(24, 24, 24, 0.47); border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; -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: 14px; white-space: normal; margin-bottom: 8px; margin-left: 6px; margin-right: 6px; visibility: visible;" />
  6. <engine:VisualElement name="VisualElement" style="flex-grow: 1; flex-direction: row; align-items: flex-start; justify-content: space-around; bottom: -60%;">
  7. <engine:Button text="Create" name="create" class="button" style="display: flex;" />
  8. <engine:Button text="&lt;Cancel&gt;" name="cancel" class="button" style="display: none;" />
  9. <engine:Button text="Adopt" name="adopt" class="button" style="display: flex;" />
  10. </engine:VisualElement>
  11. </engine:VisualElement>
  12. <engine:VisualElement name="backHome" style="flex-grow: 1; background-image: url(&quot;project://database/Assets/Packages/2D%20Casual%20UI/Sprite/GUI.png?fileID=21300070&amp;guid=1eaee135ce037439d925cee5e41ce026&amp;type=3#GUI_35&quot;); position: absolute; width: 25px; height: 25px; right: 15px; top: 15px; display: none;" />
  13. </engine:UXML>