Implemented dungeon selector

This commit is contained in:
Max 2025-03-03 16:22:19 +01:00
parent 514d985ddb
commit aeeb15cb12
46 changed files with 26355 additions and 32 deletions

View file

@ -1,6 +1,7 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<Style src="project://database/Assets/UI/Styles/style1.uss?fileID=7433441132597879392&amp;guid=97546bb1d1d93d84e9b4ef0c8ae11a0e&amp;type=3#style1" />
<ui:VisualElement name="Base" style="flex-grow: 1; height: auto; flex-direction: row; align-items: stretch; justify-content: space-between;">
<ui:VisualElement name="DungeonThumbnail" picking-mode="Ignore" style="flex-grow: 1; position: absolute; width: 100%; height: 100%;" />
<ui:VisualElement name="Menu" style="flex-grow: 1; width: 33%; background-color: rgb(56, 56, 56); bottom: 0; top: 0; position: relative; left: 0; max-width: 33%;">
<ui:Label text="Dungeon Name" name="DungeonName" class="MenuHeader MenuHTwo" style="-unity-text-align: upper-center; color: rgb(255, 255, 255);" />
<ui:VisualElement style="flex-grow: 1;">
@ -9,9 +10,10 @@
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="DungeonView" style="right: 0; top: 0; align-self: stretch; justify-content: space-between; flex-direction: column-reverse; flex-grow: 1; position: relative; flex-shrink: 1; bottom: 0; align-items: stretch;">
<ui:VisualElement name="BottomBar" style="flex-grow: 1; bottom: 0; align-self: stretch; flex-direction: row; align-items: flex-end; justify-content: space-between;">
<ui:Button text="Prev" name="Previous" />
<ui:Button text="Next" name="Next" style="-unity-text-align: middle-left;" />
<ui:VisualElement name="BottomBar" style="flex-grow: 0; bottom: 0; align-self: stretch; flex-direction: row; align-items: flex-end; justify-content: space-between;">
<ui:Button text="Prev" name="Previous" class="button border" />
<ui:Button text="Start" name="Start" class="button border" style="-unity-text-align: middle-left;" />
<ui:Button text="Next" name="Next" class="button border" style="-unity-text-align: middle-left;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>