refactor(map): 移除未使用的预置体实例并重新映射组件ID

清理地图预置体文件,删除未引用的预置体实例(mskills节点)及其相关覆盖属性。
同时调整剩余组件的内部引用ID,保持文件结构一致性。
This commit is contained in:
walkpan
2026-04-06 23:20:02 +08:00
parent 5520473e71
commit a958a22c29
2 changed files with 2123 additions and 2219 deletions

View File

@@ -28,17 +28,17 @@
"_active": true,
"_components": [
{
"__id__": 136
"__id__": 120
},
{
"__id__": 138
"__id__": 122
},
{
"__id__": 140
"__id__": 124
}
],
"_prefab": {
"__id__": 142
"__id__": 126
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -197,17 +197,17 @@
"_active": true,
"_components": [
{
"__id__": 129
"__id__": 113
},
{
"__id__": 131
"__id__": 115
},
{
"__id__": 133
"__id__": 117
}
],
"_prefab": {
"__id__": 135
"__id__": 119
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -257,17 +257,17 @@
"__id__": 70
},
{
"__id__": 120
"__id__": 104
}
],
"_active": true,
"_components": [
{
"__id__": 126
"__id__": 110
}
],
"_prefab": {
"__id__": 128
"__id__": 112
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1721,22 +1721,19 @@
},
{
"__id__": 95
},
{
"__id__": 99
}
],
"_active": true,
"_components": [
{
"__id__": 115
"__id__": 99
},
{
"__id__": 117
"__id__": 101
}
],
"_prefab": {
"__id__": 119
"__id__": 103
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2383,212 +2380,6 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_prefab": {
"__id__": 100
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 99
},
"asset": {
"__uuid__": "0f2aeee0-d590-4c36-9f20-a93b058d5b91",
"__expectedType__": "cc.Prefab"
},
"fileId": "5622mxbS1PNqMFP0FH5Mir",
"instance": {
"__id__": 101
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "f99PWIj1JPJqRhcUsVZf3M",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 102
},
{
"__id__": 104
},
{
"__id__": 105
},
{
"__id__": 106
},
{
"__id__": 107
},
{
"__id__": 109
},
{
"__id__": 110
},
{
"__id__": 111
},
{
"__id__": 112
},
{
"__id__": 114
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 103
},
"propertyPath": [
"_name"
],
"value": "mskills"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"5622mxbS1PNqMFP0FH5Mir"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 103
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": -180,
"y": 314.571,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 103
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 103
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 108
},
"propertyPath": [
"_alignFlags"
],
"value": 10
},
{
"__type__": "cc.TargetInfo",
"localID": [
"baKsIzXktAyqqNBZKVQXO+"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 108
},
"propertyPath": [
"_left"
],
"value": -360
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 108
},
"propertyPath": [
"_right"
],
"value": -130
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 108
},
"propertyPath": [
"_originalWidth"
],
"value": 360
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 113
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 360,
"height": 100
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"4dNsDtN3ZGiZ+om9xELLFQ"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 108
},
"propertyPath": [
"_verticalCenter"
],
"value": 264.571
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -2599,7 +2390,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 116
"__id__": 100
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2627,7 +2418,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 118
"__id__": 102
},
"_id": ""
},
@@ -2660,14 +2451,14 @@
"_active": true,
"_components": [
{
"__id__": 121
"__id__": 105
},
{
"__id__": 123
"__id__": 107
}
],
"_prefab": {
"__id__": 125
"__id__": 109
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2704,11 +2495,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 120
"__id__": 104
},
"_enabled": true,
"__prefab": {
"__id__": 122
"__id__": 106
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2732,11 +2523,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 120
"__id__": 104
},
"_enabled": true,
"__prefab": {
"__id__": 124
"__id__": 108
},
"light": null,
"_id": ""
@@ -2768,7 +2559,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 127
"__id__": 111
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2809,7 +2600,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 130
"__id__": 114
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2837,7 +2628,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 132
"__id__": 116
},
"camera": {
"__id__": 3
@@ -2852,10 +2643,10 @@
"__id__": 66
},
"entityLayer": {
"__id__": 117
"__id__": 101
},
"SkillLayer": {
"__id__": 123
"__id__": 107
},
"isFollowPlayer": true,
"_id": ""
@@ -2874,7 +2665,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 134
"__id__": 118
},
"_id": ""
},
@@ -2905,7 +2696,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 137
"__id__": 121
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2933,7 +2724,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 139
"__id__": 123
},
"_cameraComponent": {
"__id__": 3
@@ -2955,7 +2746,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 141
"__id__": 125
},
"_alignFlags": 45,
"_target": null,
@@ -2991,11 +2782,6 @@
},
"fileId": "32qENLKwZHV5S2IyZfpNx2",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 99
}
]
"targetOverrides": null
}
]

File diff suppressed because it is too large Load Diff