Added Masks

This commit is contained in:
Walter
2026-01-31 22:28:38 -06:00
parent 7c4cc39998
commit 1f53ab8119
+15 -2
View File
@@ -1,5 +1,18 @@
<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0);">
<ui:Label text="Score: 0" name="Score"/>
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); height: 20%;">
<ui:Label text="Score: 0" name="Score" style="font-size: 40px; height: 10%;"/>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; align-self: auto; align-items: flex-start; align-content: auto; height: 80%; flex-direction: row;">
<ui:VisualElement style="flex-grow: 1; height: 100%; width: 10%; background-size: 100% 100%;">
<ui:Image name="Player1Life" style="background-image: url(&quot;project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=2800000&amp;guid=03a067405c8cfa945a9ed2e8ff6a71dd&amp;type=3#P_Health01&quot;); height: 50%;"/>
<ui:VisualElement style="flex-grow: 1; height: 50%;"/>
<ui:Image name="Player2Life" style="background-image: url(&quot;project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=2800000&amp;guid=03a067405c8cfa945a9ed2e8ff6a71dd&amp;type=3#P_Health01&quot;); height: 50%;"/>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; width: 80%; height: 100%;"/>
<ui:VisualElement style="flex-grow: 1; width: 10%; height: 100%;">
<ui:Image name="Player3Life" style="background-image: url(&quot;project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=2800000&amp;guid=03a067405c8cfa945a9ed2e8ff6a71dd&amp;type=3#P_Health01&quot;); height: 50%;"/>
<ui:VisualElement style="flex-grow: 1; height: 50%;"/>
<ui:Image name="Player4Life" style="background-image: url(&quot;project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=2800000&amp;guid=03a067405c8cfa945a9ed2e8ff6a71dd&amp;type=3#P_Health01&quot;); height: 50%;"/>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>