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

26 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="UnityEngine.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">
<ui:Label text="PLAYER PROFILE" class="header-text" />
<ui:VisualElement style="flex-direction: row; margin-bottom: 20px;">
<ui:VisualElement style="width: 100px; height: 100px; background-color: #555; border-radius: 50%; margin-right: 20px;" />
<ui:VisualElement>
<ui:Label text="Username: PlayerOne" style="font-size: 24px; -unity-font-style: bold;" />
<ui:Label text="Level: 15" style="color: #AAAAAA;" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="background-color: rgba(0,0,0,0.2); padding: 15px; border-radius: 5px; margin-bottom: 20px;">
<ui:Label text="Stats" style="-unity-font-style: bold; margin-bottom: 10px;" />
<ui:Label text="Wins: 24" />
<ui:Label text="Losses: 10" />
<ui:Label text="K/D Ratio: 1.5" />
</ui:VisualElement>
<ui:Button text="CLOSE" name="btn-close" class="button-primary" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>