19 lines
2.0 KiB
Plaintext
19 lines
2.0 KiB
Plaintext
<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); 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("project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=2800000&guid=03a067405c8cfa945a9ed2e8ff6a71dd&type=3#P_Health01"); height: 50%;"/>
|
|
<ui:VisualElement style="flex-grow: 1; height: 50%;"/>
|
|
<ui:Image name="Player2Life" style="background-image: url("project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=2800000&guid=03a067405c8cfa945a9ed2e8ff6a71dd&type=3#P_Health01"); 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("project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=2800000&guid=03a067405c8cfa945a9ed2e8ff6a71dd&type=3#P_Health01"); height: 50%;"/>
|
|
<ui:VisualElement style="flex-grow: 1; height: 50%;"/>
|
|
<ui:Image name="Player4Life" style="background-image: url("project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=2800000&guid=03a067405c8cfa945a9ed2e8ff6a71dd&type=3#P_Health01"); height: 50%;"/>
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
</ui:UXML>
|