Files
BABA_YAGA/Assets/UI/Documents/Lobby.uxml
2026-04-23 23:09:54 +07:00

23 lines
1.5 KiB
Plaintext

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project:/Assets/UI/Styles/Global.uss" />
<ui:VisualElement class="screen-root">
<ui:VisualElement class="panel" style="width: 600px;">
<ui:Label text="LOBBY" class="header-text" />
<ui:Label text="Room Code: #H4L2" style="color: #AAAAAA; -unity-text-align: middle-center; margin-bottom: 10px;" />
<ui:ScrollView name="player-list" style="height: 300px; background-color: rgba(0,0,0,0.2); margin-bottom: 20px; padding: 10px;">
<!-- Placeholder players -->
<ui:Label text="Player 1 (Host)" style="color: #FFD700;" />
<ui:Label text="Player 2" />
<ui:Label text="Searching for players..." style="color: #666; font-style: italic;" />
</ui:ScrollView>
<ui:VisualElement style="flex-direction: row; justify-content: space-between;">
<ui:Button text="LEAVE" name="btn-leave" class="button-primary button-danger" style="flex-grow: 1;" />
<ui:Button text="START GAME" name="btn-start" class="button-primary" style="flex-grow: 2;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>