update
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<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 style="flex-grow: 1; justify-content: flex-end; padding: 40px;">
|
||||
<!-- Top Right: Actions -->
|
||||
<ui:VisualElement style="position: absolute; top: 40px; right: 40px; align-items: flex-end;">
|
||||
<ui:Button name="btn-toggle-view" text="TOGGLE VIEW (F2)" class="button-primary" style="font-size: 12px; padding: 10px;" />
|
||||
<ui:Label text="Hold [ALT] to use cursor" style="color: rgba(255,255,255,0.6); font-size: 10px; margin-top: 5px; -unity-font-style: italic;" />
|
||||
</ui:VisualElement>
|
||||
|
||||
<!-- Top Left: Stats -->
|
||||
<ui:VisualElement style="position: absolute; top: 40px; left: 40px; background-color: rgba(0,0,0,0.5); padding: 15px; border-radius: 5px;">
|
||||
<ui:Label name="health-text" text="HEALTH: 100/100" style="color: #ff4d4d; -unity-font-style: bold; margin-bottom: 5px;" />
|
||||
|
||||
Reference in New Issue
Block a user