Files
jelito/Assets/jelycho/HUD/hud_inventory_slot_template.uxml
2025-07-11 14:40:23 +02:00

7 lines
1.1 KiB
Plaintext

<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<engine:VisualElement name="player-hud__inventory-slot" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0.7);">
<engine:VisualElement name="player-hud__inventory-slot-icon" style="flex-grow: 1; background-image: url(&quot;project://database/Assets/jelycho/Items/Shikashi&apos;s%20Fantasy%20Icons%20Pack%20v2/BG%2011.png?fileID=-137324388&amp;guid=72d716a5a5f582f43b585b9599f6ecf2&amp;type=3#jd_item_sword&quot;); margin-top: 2px; margin-right: 2px; margin-bottom: 2px; margin-left: 2px;" />
<engine:Label text="1" name="player-hud__inventory-slot-quantity" style="position: absolute; flex-direction: column; color: rgb(255, 255, 255); -unity-text-outline-color: rgba(0, 0, 0, 0.64); -unity-text-outline-width: 1px; -unity-font-style: bold; font-size: 20px; top: auto; left: auto; right: 0; bottom: 0; -unity-text-align: lower-right;" />
</engine:VisualElement>
</engine:UXML>