Files
BABA_YAGA/Assets/UI/Profile.uxml
2026-04-28 00:07:42 +07:00

28 lines
1.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="ProfileRoot" class="screen-root" style="flex-direction: row;">
<ui:VisualElement name="LeftPane" style="width: 50%; background-color: transparent;" />
<ui:VisualElement name="RightPane" style="width: 50%; background-color: rgba(0, 0, 0, 0.7); padding: 40px;">
<ui:VisualElement name="Header" style="flex-direction: row; align-items: center; margin-bottom: 30px;">
<ui:VisualElement name="Avatar" style="width: 100px; height: 100px; border-radius: 50px; background-color: gray; margin-right: 20px;" />
<ui:VisualElement>
<ui:Label name="Username" text="Player One" style="font-size: 32px; -unity-font-style: bold;" />
<ui:Label name="Rank" text="MASTER III" style="color: gold;" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="Stats" style="margin-bottom: 30px;">
<ui:Label text="WIN RATE" />
<ui:ProgressBar name="WinRateBar" value="65" />
<ui:Label name="WinRateText" text="65%" style="align-self: flex-end;" />
</ui:VisualElement>
<ui:ScrollView name="Inventory" style="flex-grow: 1; background-color: rgba(255, 255, 255, 0.05); padding: 10px;">
<ui:Label text="INVENTORY" style="margin-bottom: 10px;" />
<!-- Skin items will go here -->
</ui:ScrollView>
<ui:Button name="BackBtn" text="BACK" class="button-spring" style="margin-top: 20px;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>