This commit is contained in:
MuHua-123
2025-09-18 16:56:00 +08:00
parent 5d8f76b3e6
commit 7324361948
385 changed files with 22988 additions and 198 deletions
@@ -0,0 +1,20 @@
.inventory-count {
margin-top: 0;
margin-right: 5px;
margin-bottom: 0;
margin-left: 5px;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
-unity-text-align: upper-right;
color: rgb(255, 255, 255);
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.inventory-count-hide {
display: none;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 509f99a0b8e7fd24c8992a4803182235
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,20 @@
<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">
<ui:Template name="InventorySlot" src="project://database/Assets/UI%20Toolkit/GamePanel/Inventory/InventorySlot.uxml?fileID=9197481963319205126&amp;guid=f578171f4be9adb428df45f65a5b62fe&amp;type=3#InventorySlot" />
<Style src="project://database/Assets/UI%20Toolkit/GamePanel/Inventory/Inventory.uss?fileID=7433441132597879392&amp;guid=509f99a0b8e7fd24c8992a4803182235&amp;type=3#Inventory" />
<ui:VisualElement name="Container" style="align-items: stretch; justify-content: center; flex-direction: row; flex-wrap: wrap; align-self: auto;">
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
<ui:Instance template="InventorySlot" name="InventorySlot" />
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 66c4934900f42194a928ece38b3e68eb
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -0,0 +1,7 @@
<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://database/Assets/UI%20Toolkit/GamePanel/Inventory/Inventory.uss?fileID=7433441132597879392&amp;guid=509f99a0b8e7fd24c8992a4803182235&amp;type=3#Inventory" />
<ui:VisualElement style="width: 90px; height: 90px; margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; background-color: rgb(102, 102, 102); border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px;">
<ui:VisualElement name="Image" style="flex-grow: 1;" />
<ui:Label tabindex="-1" text="999" parse-escape-sequences="true" display-tooltip-when-elided="true" enable-rich-text="true" name="Count" class="inventory-count" />
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: f578171f4be9adb428df45f65a5b62fe
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}