39 lines
2.7 KiB
Plaintext
39 lines
2.7 KiB
Plaintext
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False"> <Style src="project:/Assets/UI/Global.uss" />
|
|
<ui:VisualElement name="LobbyRoot" class="screen-root" style="flex-direction: row;">
|
|
<!-- Left Pane: Placeholder for 3D Character -->
|
|
<ui:VisualElement name="LeftPane" style="width: 60%; height: 100%; background-color: transparent;" />
|
|
|
|
<!-- Right Pane: Glass UI -->
|
|
<ui:VisualElement name="RightPane" style="width: 40%; height: 100%; background-color: rgba(255, 255, 255, 0.1); border-left-width: 2px; border-left-color: rgba(255, 255, 255, 0.2);">
|
|
<ui:VisualElement name="JoinContainer" style="flex-grow: 1; padding: 20px;">
|
|
<ui:Label text="JOIN ROOM" style="font-size: 30px; -unity-font-style: bold;" />
|
|
<ui:TextField label="Search" name="SearchRoom" />
|
|
<ui:ScrollView name="RoomList" style="flex-grow: 1; margin-top: 10px;" />
|
|
<ui:Button name="BackToMenuBtn" text="Back" class="button-spring" />
|
|
</ui:VisualElement>
|
|
|
|
<ui:VisualElement name="CreateContainer" style="flex-grow: 1; padding: 20px; display: none;">
|
|
<ui:Label text="CREATE ROOM" style="font-size: 30px; -unity-font-style: bold;" />
|
|
<ui:TextField label="Room Name" name="RoomNameInput" />
|
|
<ui:Toggle label="Password Protected" name="PasswordToggle" />
|
|
<ui:Button name="CreateRoomFinalBtn" text="CREATE" class="button-spring" style="height: 60px; margin-top: auto;" />
|
|
</ui:VisualElement>
|
|
|
|
<ui:VisualElement name="LoungeContainer" style="flex-grow: 1; padding: 20px; display: none;">
|
|
<ui:Label text="LOUNGE" style="font-size: 30px; -unity-font-style: bold;" />
|
|
<ui:VisualElement style="flex-direction: row; flex-grow: 1;">
|
|
<ui:VisualElement name="HostSlot" style="flex-grow: 1; background-color: rgba(0, 0, 255, 0.2); margin: 5px; padding: 10px;">
|
|
<ui:Label text="HOST" />
|
|
<ui:Toggle label="Ready" name="HostReady" />
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="GuestSlot" style="flex-grow: 1; background-color: rgba(255, 165, 0, 0.2); margin: 5px; padding: 10px;">
|
|
<ui:Label text="GUEST" />
|
|
<ui:Toggle label="Ready" name="GuestReady" />
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
<ui:Button name="StartGameBtn" text="START GAME" class="button-spring" style="height: 60px;" />
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
</ui:UXML>
|