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
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: cebd6849e898e004c889176f3dd4acb9
guid: d339f465b0a60494da347eff6a09883b
folderAsset: yes
DefaultImporter:
externalObjects: {}
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a53da9fc389948e40ac96af14dd02c10
guid: ea431661362425a4e9b547f470789774
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -0,0 +1,34 @@
<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="EquipmentTemplate" src="project://database/Assets/UI%20Toolkit/GamePanel/Equipment/EquipmentTemplate.uxml?fileID=9197481963319205126&amp;guid=5f5226e4c122ad1499586eae5135667c&amp;type=3#EquipmentTemplate" />
<Style src="project://database/Assets/UI%20Toolkit/GamePanel/Equipment/Equipment.uss?fileID=7433441132597879392&amp;guid=ea431661362425a4e9b547f470789774&amp;type=3#Equipment" />
<ui:VisualElement>
<ui:VisualElement style="flex-direction: row;">
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
</ui:VisualElement>
<ui:VisualElement style="flex-direction: row;">
<ui:VisualElement>
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1;">
<ui:VisualElement style="width: 190px; height: 190px; 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>
<ui:VisualElement>
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="flex-direction: row;">
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
<ui:Instance template="EquipmentTemplate" name="EquipmentTemplate" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1;">
<ui:VisualElement style="flex-grow: 1; margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; background-color: rgb(102, 102, 102);" />
</ui:VisualElement>
</ui:UXML>
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 531a74f84d51b5d49a048079629e13e0
guid: 5cc8bcb294d4fe241a2e6d3deb627c57
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -0,0 +1,4 @@
<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/Equipment/Equipment.uss?fileID=7433441132597879392&amp;guid=ea431661362425a4e9b547f470789774&amp;type=3#Equipment" />
<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:UXML>
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 5034a86c1b336b644968fdb3be5f851a
guid: 5f5226e4c122ad1499586eae5135667c
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 27c2ea3f23baa7d478b4cf40dadaae96
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -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>
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 1ee167986f6e9a840a45450b4b6adfc2
guid: 66c4934900f42194a928ece38b3e68eb
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -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}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5175c4701f37d0d4f9b3464319b34181
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6e24d6aca80b52c479d5de875f77b8fc
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" 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/ItemInfo/ItemInfo.uss?fileID=7433441132597879392&amp;guid=6e24d6aca80b52c479d5de875f77b8fc&amp;type=3#ItemInfo" />
<ui:VisualElement style="flex-grow: 1;">
<ui:VisualElement style="flex-grow: 1; margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; background-color: rgb(102, 102, 102);" />
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 7b84b855a52611f4291ff7a90fdb83dd
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,7 +0,0 @@
<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/ShortcutMenu/ShortcutMenu.uss?fileID=7433441132597879392&amp;guid=a53da9fc389948e40ac96af14dd02c10&amp;type=3#ShortcutMenu" />
<ui:VisualElement class="menu-unit">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Name" style="-unity-text-align: middle-center; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; height: 30px;" />
<ui:VisualElement name="Arrow" class="menu-arrow" />
</ui:VisualElement>
</ui:UXML>
@@ -1,11 +0,0 @@
<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="Item" src="project://database/Assets/UI%20Toolkit/GamePanel/ShortcutMenu/ItemTemplate.uxml?fileID=9197481963319205126&amp;guid=1ee167986f6e9a840a45450b4b6adfc2&amp;type=3#ItemTemplate" />
<Style src="project://database/Assets/UI%20Toolkit/GamePanel/ShortcutMenu/ShortcutMenu.uss?fileID=7433441132597879392&amp;guid=a53da9fc389948e40ac96af14dd02c10&amp;type=3#ShortcutMenu" />
<ui:VisualElement name="Container" style="background-color: rgb(255, 255, 255); border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; align-self: flex-start;">
<ui:Instance template="Item" name="Item" />
<ui:Instance template="Item" name="Item" />
<ui:Instance template="Item" name="Item" />
<ui:Instance template="Item" name="Item" />
<ui:Instance template="Item" name="Item" />
</ui:VisualElement>
</ui:UXML>
@@ -1,32 +0,0 @@
.menu {
position: absolute;
}
.menu-hide {
display: none;
}
.menu-unit {
flex-direction: row;
align-self: flex-start;
}
.menu-unit:hover {
background-color: rgba(0, 0, 0, 0.2);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
.menu-arrow {
flex-grow: 0;
height: 30px;
width: 30px;
background-image: url("project://database/Assets/UI%20Toolkit/DefaultTheme/UnityDefaultRuntimeTheme.tss?fileID=-1087164816274819069&guid=05f864e67ee1ecb4bbe67427564d394c&type=3#arrow-right@2x");
-unity-background-image-tint-color: rgb(51, 51, 51);
}
.menu-arrow-hide {
display: none;
}
@@ -1,3 +0,0 @@
<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/ShortcutMenu/ShortcutMenu.uss?fileID=7433441132597879392&amp;guid=a53da9fc389948e40ac96af14dd02c10&amp;type=3#ShortcutMenu" />
</ui:UXML>