refactor(prefab): 重构卡片、技能盒等预制体资源

调整了hero1/hero2/hero3节点名称与位置,更新精灵帧与动画剪辑资源引用,重构节点层级结构与布局配置,统一资源依赖关系
This commit is contained in:
pan
2026-06-05 10:20:42 +08:00
parent 500ba03eb9
commit dfbac61ed9
4 changed files with 2544 additions and 1930 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2538,7 +2538,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@4b5bf", "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@23e64",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,

View File

@@ -74,7 +74,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hero1", "_name": "hero3",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -99,8 +99,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 183.23, "x": 107.611,
"y": 177, "y": 268.489,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -154,7 +154,7 @@
}, },
{ {
"__type__": "cc.PrefabInstance", "__type__": "cc.PrefabInstance",
"fileId": "02Q4ilU+xM0p10RVAkaube", "fileId": "f1fkpkVg9O6KvQEUL+Pjop",
"prefabRootNode": { "prefabRootNode": {
"__id__": 1 "__id__": 1
}, },
@@ -240,7 +240,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "k1", "_name": "m7",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -317,7 +317,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "5bxUe29LNBE7bY/beD1wlO" "fileId": "5fr1MZXFRIUIs6u0RuK25r"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -342,7 +342,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "3092fdba-6250-43e4-a940-6f4b45fbbb57@e2787", "__uuid__": "880e4caa-854e-4e80-9ab5-d3d587e4dd4d@958dd",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -358,14 +358,14 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": { "_atlas": {
"__uuid__": "3092fdba-6250-43e4-a940-6f4b45fbbb57", "__uuid__": "880e4caa-854e-4e80-9ab5-d3d587e4dd4d",
"__expectedType__": "cc.SpriteAtlas" "__expectedType__": "cc.SpriteAtlas"
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "cfpVUgxx5Cg6uXBaCdqQeN" "fileId": "22MiKkqkZDm5PRcLYTPftm"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -382,19 +382,19 @@
"playOnLoad": true, "playOnLoad": true,
"_clips": [ "_clips": [
{ {
"__uuid__": "259e6a43-1d3a-4d6a-ba25-a06476e86cb3", "__uuid__": "c075034e-2f66-4fc1-8607-90c16fca23f7",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
} }
], ],
"_defaultClip": { "_defaultClip": {
"__uuid__": "259e6a43-1d3a-4d6a-ba25-a06476e86cb3", "__uuid__": "c075034e-2f66-4fc1-8607-90c16fca23f7",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "93rrulH1tKSKqyKG9glSi3" "fileId": "fbWVTXAFdH4obtjCntBxru"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -404,7 +404,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "bdA9GHaYtL34EFtEibL2hR", "fileId": "82phyYrMBJLLQftj0f4fIS",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -435,7 +435,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "61EjAOwXhARaxrahZlF571" "fileId": "78MXQ2Fg5HypYc6SFOupOd"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -445,7 +445,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "b7CXK9ttxDz5mrJpDB4qA4", "fileId": "f2j7DYVutESIJc8Q7SiM91",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -477,7 +477,7 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 100, "x": 76.614,
"y": 215.538, "y": 215.538,
"z": 0 "z": 0
}, },
@@ -783,6 +783,8 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "adFmHHJ5BBAY0CazvLDgGw", "fileId": "adFmHHJ5BBAY0CazvLDgGw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@@ -828,7 +830,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hero2", "_name": "hero1",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -853,8 +855,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 100, "x": 139.84,
"y": 100.445, "y": 171.929,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -908,7 +910,7 @@
}, },
{ {
"__type__": "cc.PrefabInstance", "__type__": "cc.PrefabInstance",
"fileId": "a382mUpdJJq4c6pWpYuUgp", "fileId": "02Q4ilU+xM0p10RVAkaube",
"prefabRootNode": { "prefabRootNode": {
"__id__": 1 "__id__": 1
}, },
@@ -994,7 +996,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "m1", "_name": "k1",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -1071,7 +1073,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "e0xZFCAWJCiIqC1p67cb+q" "fileId": "5bxUe29LNBE7bY/beD1wlO"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -1096,7 +1098,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "931f5403-9721-4639-a7e9-e3f15e11bc60@3d34d", "__uuid__": "3092fdba-6250-43e4-a940-6f4b45fbbb57@e2787",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -1112,14 +1114,14 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": { "_atlas": {
"__uuid__": "931f5403-9721-4639-a7e9-e3f15e11bc60", "__uuid__": "3092fdba-6250-43e4-a940-6f4b45fbbb57",
"__expectedType__": "cc.SpriteAtlas" "__expectedType__": "cc.SpriteAtlas"
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "8ecNQZPc5LHazMRCnzbT9k" "fileId": "cfpVUgxx5Cg6uXBaCdqQeN"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -1136,19 +1138,19 @@
"playOnLoad": true, "playOnLoad": true,
"_clips": [ "_clips": [
{ {
"__uuid__": "f112d049-5c98-4414-9f0c-6b7930871218", "__uuid__": "259e6a43-1d3a-4d6a-ba25-a06476e86cb3",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
} }
], ],
"_defaultClip": { "_defaultClip": {
"__uuid__": "f112d049-5c98-4414-9f0c-6b7930871218", "__uuid__": "259e6a43-1d3a-4d6a-ba25-a06476e86cb3",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "dbb3Pp4EVMd576G3//x+Qa" "fileId": "93rrulH1tKSKqyKG9glSi3"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -1158,7 +1160,9 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "96QFNOz55OyZEByIPMUwVi", "fileId": "bdA9GHaYtL34EFtEibL2hR",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@@ -1187,7 +1191,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "6114dRYCZOVYVUIHK+IfxJ" "fileId": "61EjAOwXhARaxrahZlF571"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -1197,14 +1201,14 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "06y3o47t5NjZX9yks6rQWL", "fileId": "b7CXK9ttxDz5mrJpDB4qA4",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hero3", "_name": "hero2",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -1229,8 +1233,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 14.536, "x": 76.619,
"y": 250, "y": 100.445,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1284,7 +1288,7 @@
}, },
{ {
"__type__": "cc.PrefabInstance", "__type__": "cc.PrefabInstance",
"fileId": "f1fkpkVg9O6KvQEUL+Pjop", "fileId": "a382mUpdJJq4c6pWpYuUgp",
"prefabRootNode": { "prefabRootNode": {
"__id__": 1 "__id__": 1
}, },
@@ -1370,7 +1374,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "m7", "_name": "m1",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -1447,7 +1451,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "5fr1MZXFRIUIs6u0RuK25r" "fileId": "e0xZFCAWJCiIqC1p67cb+q"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -1472,7 +1476,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "880e4caa-854e-4e80-9ab5-d3d587e4dd4d@958dd", "__uuid__": "931f5403-9721-4639-a7e9-e3f15e11bc60@3d34d",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -1488,14 +1492,14 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": { "_atlas": {
"__uuid__": "880e4caa-854e-4e80-9ab5-d3d587e4dd4d", "__uuid__": "931f5403-9721-4639-a7e9-e3f15e11bc60",
"__expectedType__": "cc.SpriteAtlas" "__expectedType__": "cc.SpriteAtlas"
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "22MiKkqkZDm5PRcLYTPftm" "fileId": "8ecNQZPc5LHazMRCnzbT9k"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -1512,19 +1516,19 @@
"playOnLoad": true, "playOnLoad": true,
"_clips": [ "_clips": [
{ {
"__uuid__": "c075034e-2f66-4fc1-8607-90c16fca23f7", "__uuid__": "f112d049-5c98-4414-9f0c-6b7930871218",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
} }
], ],
"_defaultClip": { "_defaultClip": {
"__uuid__": "c075034e-2f66-4fc1-8607-90c16fca23f7", "__uuid__": "f112d049-5c98-4414-9f0c-6b7930871218",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "fbWVTXAFdH4obtjCntBxru" "fileId": "dbb3Pp4EVMd576G3//x+Qa"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -1534,7 +1538,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "82phyYrMBJLLQftj0f4fIS", "fileId": "96QFNOz55OyZEByIPMUwVi",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -1565,7 +1569,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "78MXQ2Fg5HypYc6SFOupOd" "fileId": "6114dRYCZOVYVUIHK+IfxJ"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -1575,7 +1579,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f2j7DYVutESIJc8Q7SiM91", "fileId": "06y3o47t5NjZX9yks6rQWL",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -1607,8 +1611,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 9.847, "x": 124.544,
"y": 74.669, "y": 63.683,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {

File diff suppressed because it is too large Load Diff