PuzzleGame/PuzzleGameProject/Assets/UI/ChestPopUp.uxml
2025-02-27 15:52:40 +01:00

20 lines
3.6 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; justify-content: space-around; width: auto; height: auto;">
<engine:VisualElement name="VisualElement" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Sprites/Loot/Chest%20(1x1)%205.png?fileID=2800000&amp;guid=36cbc13325177f24996bb0e77c507c65&amp;type=3#Chest (1x1) 5&quot;); width: 500px; height: 500px; flex-shrink: 0; align-self: center; padding-top: 224px; padding-left: 111px; padding-right: 93px; padding-bottom: 67px;">
<engine:GroupBox style="flex-grow: 1; flex-shrink: 1; flex-direction: column; justify-content: space-between; align-items: center; height: 100px;">
<engine:VisualElement style="flex-grow: 1; flex-direction: row;">
<engine:Button name="BlackDie" class="icon-button" style="background-image: url(&quot;project://database/Assets/Sprites/Table,%20cloth,%20large,%20red.png?fileID=2800000&amp;guid=ca55846e26dc89e45b6e0afa16f84977&amp;type=3#Table, cloth, large, red&quot;); width: 100px; height: 100px; background-size: 100% 100%; -unity-background-scale-mode: scale-and-crop; flex-shrink: 1; align-items: center; justify-content: space-around;">
<engine:VisualElement style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Sprites/No%20Edges.png?fileID=2800000&amp;guid=982f0bccdf239df48af0a465f9ce7536&amp;type=3#No Edges&quot;); flex-shrink: 0; width: 50px; height: 50px;" />
</engine:Button>
<engine:Button name="Key" class="icon-button" style="background-image: url(&quot;project://database/Assets/Sprites/Table,%20cloth,%20large,%20blue.png?fileID=2800000&amp;guid=b9a93e3830914ec4bb885cca1ec68d3f&amp;type=3#Table, cloth, large, blue&quot;); background-color: rgba(188, 188, 188, 0); width: 100px; height: 100px; -unity-background-scale-mode: scale-and-crop; flex-shrink: 1; align-items: center; justify-content: space-around;">
<engine:VisualElement style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Sprites/Key.png?fileID=2800000&amp;guid=99e2733a78fd7a543b2adc84e3d4d3b4&amp;type=3#Key&quot;); width: 40px; height: 40px; flex-shrink: 0;" />
</engine:Button>
</engine:VisualElement>
<engine:Button name="ArmorAndDiamond" class="icon-button" style="background-image: url(&quot;project://database/Assets/Sprites/Table,%20cloth,%20large,%20green.png?fileID=2800000&amp;guid=b3525a13bc009d14598c4f13e35df6bd&amp;type=3#Table, cloth, large, green&quot;); background-color: rgba(188, 188, 188, 0); width: 100px; height: 100px; -unity-background-scale-mode: scale-and-crop; flex-shrink: 1; align-items: center; justify-content: space-around;">
<engine:VisualElement style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Sprites/HeartAndDiamond.png?fileID=2800000&amp;guid=a3052a5a54720ef4d98f96950d425fe8&amp;type=3#HeartAndDiamond&quot;); flex-shrink: 0; width: 83px; height: 83px; background-size: 100% 100%;" />
</engine:Button>
</engine:GroupBox>
</engine:VisualElement>
</engine:VisualElement>
</engine:UXML>