Add UI toolkit hud
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
.panel {
|
||||
-unity-background-image-tint-color: rgba(2, 2, 2, 0.64);
|
||||
background-color: rgba(0, 0, 0, 0.75);
|
||||
align-items: auto;
|
||||
height: 100px;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b1b33e86ffa27d840968609d368bc1ac
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,6 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
||||
<Style src="project://database/Assets/UI/inGameGud.uss?fileID=7433441132597879392&guid=b1b33e86ffa27d840968609d368bc1ac&type=3#inGameGud" />
|
||||
<ui:VisualElement class="panel" style="flex-grow: 1; height: 50px; margin-bottom: 0; align-self: auto; justify-content: space-between; align-items: auto; max-height: 50px;">
|
||||
<ui:VisualElement name="CharacterImage" style="flex-grow: 1; align-items: auto; align-self: flex-start; background-image: url("project://database/Assets/Characters/pics/Sophie.png?fileID=2800000&guid=4999eb6bfdcacae48a7ed2020bd489d0&type=3#Sophie"); background-color: rgba(255, 255, 255, 0); justify-content: flex-end; max-width: none; width: 43px;" />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f56df0e5e8c60e241a519804b41d2e2d
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
Reference in New Issue
Block a user