PuzzleGame/PuzzleGameProject/Assets/UI/EndGame.uxml
2025-03-07 10:35:06 +01:00

34 lines
4 KiB
Text

<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="False">
<Style src="project://database/Assets/UI/Styles/style1.uss?fileID=7433441132597879392&amp;guid=97546bb1d1d93d84e9b4ef0c8ae11a0e&amp;type=3#style1" />
<engine:VisualElement name="root" style="flex-grow: 1; align-items: center; background-color: rgba(0, 0, 0, 0.49);">
<engine:VisualElement style="flex-grow: 1; width: 50%; height: auto; align-items: center; justify-content: space-around;">
<engine:VisualElement name="box" class="border" style="flex-grow: 0; width: 600px; height: 450px; background-color: rgb(125, 125, 125); justify-content: space-between; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px;">
<engine:VisualElement name="Title" style="flex-grow: 0; justify-content: center; height: auto;">
<engine:Label text="Title" name="Title" class="MenuHTwo MenuHOne" style="-unity-text-align: upper-center;" />
<engine:Label text="Label" name="Message" class="MenuText" style="-unity-text-align: upper-center; text-overflow: clip;" />
</engine:VisualElement>
<engine:VisualElement name="NameInput" class="MenuText" style="flex-grow: 1; align-items: center; justify-content: center; flex-direction: row;">
<engine:Label text="Name" style="-unity-text-align: upper-center;" />
<engine:TextField placeholder-text="AAA" max-length="3" name="NameField" class="border" style="flex-grow: 0; flex-shrink: 0; justify-content: flex-start; align-items: center; flex-direction: row;" />
</engine:VisualElement>
<engine:VisualElement name="Score" style="flex-grow: 1; justify-content: center; align-items: center;">
<engine:VisualElement name="VisualElement" style="flex-grow: 0; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); justify-content: flex-end;">
<engine:VisualElement name="DiamondScoreBox" style="flex-grow: 0; align-items: center; justify-content: center; flex-direction: row;">
<engine:VisualElement name="DiamondImageBox" style="flex-grow: 0; width: 30px; height: 30px; flex-shrink: 0;" />
<engine:Label text="Label" name="PointsFromDiamond" class="MenuText" style="-unity-text-align: upper-center;" />
</engine:VisualElement>
<engine:VisualElement name="HealthScoreBox" style="flex-grow: 0; align-items: center; justify-content: center; flex-direction: row;">
<engine:VisualElement name="HealthImageBox" style="flex-grow: 0; background-size: 50px 50px; flex-shrink: 0; width: 20px; height: 20px;" />
<engine:Label text="Label" name="PointsFromHealth" class="MenuText" style="-unity-text-align: upper-center;" />
</engine:VisualElement>
</engine:VisualElement>
<engine:VisualElement name="VisualElement" style="flex-grow: 0; width: 50%; border-top-width: 2px; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0);">
<engine:Label text="Label" name="ScoreSum" class="MenuText" style="-unity-text-align: upper-center;" />
</engine:VisualElement>
</engine:VisualElement>
<engine:Button text="Save" name="Save" class="border button MenuText" style="position: absolute; right: 3px; bottom: 3px; font-size: 18px; background-color: rgb(87, 167, 0); color: rgb(0, 0, 0);" />
<engine:Button name="Close" text="X" class="CloseButton MenuText" />
</engine:VisualElement>
</engine:VisualElement>
</engine:VisualElement>
</engine:UXML>