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

24 lines
1.4 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">
<ui:Label text="SETTINGS" class="header-text" />
<ui:ScrollView style="height: 400px; margin-bottom: 20px;">
<ui:Label text="Audio" style="-unity-font-style: bold; margin-top: 10px;" />
<ui:Slider label="Master Volume" value="80" low-value="0" high-value="100" />
<ui:Slider label="Music Volume" value="50" low-value="0" high-value="100" />
<ui:Label text="Gameplay" style="-unity-font-style: bold; margin-top: 20px;" />
<ui:Slider label="Mouse Sensitivity" value="2.5" low-value="0.1" high-value="10" />
<ui:Toggle label="Invert Y-Axis" />
<ui:Label text="Graphics" style="-unity-font-style: bold; margin-top: 20px;" />
<ui:DropdownField label="Quality" index="2" choices="Low,Medium,High,Ultra" />
</ui:ScrollView>
<ui:Button text="BACK" name="btn-back" class="button-primary" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>