fix(mission.prefab): 修复任务UI预制体的异常配置

1. 清理冗余的无效组件和配置项
2. 调整节点高度尺寸并启用禁用的UI组件
3. 修正预制体关联的id映射错误
This commit is contained in:
panw
2026-05-27 17:01:34 +08:00
parent bfafdbabeb
commit 62bb417a4d

View File

@@ -59,13 +59,10 @@
}, },
{ {
"__id__": 990 "__id__": 990
},
{
"__id__": 992
} }
], ],
"_prefab": { "_prefab": {
"__id__": 994 "__id__": 992
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -18517,7 +18514,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 720, "width": 720,
"height": 450 "height": 300
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -18612,7 +18609,7 @@
"node": { "node": {
"__id__": 138 "__id__": 138
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 912 "__id__": 912
}, },
@@ -20218,24 +20215,6 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "f9o2hpPnBPmqjcVCGnse3t" "fileId": "f9o2hpPnBPmqjcVCGnse3t"
}, },
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 993
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "05/XVWqLhGG5W73+miUKbB"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@@ -20248,40 +20227,40 @@
"instance": null, "instance": null,
"targetOverrides": [ "targetOverrides": [
{ {
"__id__": 995 "__id__": 993
}, },
{ {
"__id__": 998 "__id__": 996
}, },
{ {
"__id__": 1001 "__id__": 999
}, },
{ {
"__id__": 1004 "__id__": 1002
}, },
{ {
"__id__": 1007 "__id__": 1005
}, },
{ {
"__id__": 1010 "__id__": 1008
}, },
{ {
"__id__": 1013 "__id__": 1011
}, },
{ {
"__id__": 1016 "__id__": 1014
}, },
{ {
"__id__": 1019 "__id__": 1017
}, },
{ {
"__id__": 1022 "__id__": 1020
}, },
{ {
"__id__": 1025 "__id__": 1023
}, },
{ {
"__id__": 1028 "__id__": 1026
} }
], ],
"nestedPrefabInstanceRoots": [ "nestedPrefabInstanceRoots": [
@@ -20326,7 +20305,7 @@
"__id__": 64 "__id__": 64
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 996 "__id__": 994
}, },
"propertyPath": [ "propertyPath": [
"icon_node" "icon_node"
@@ -20335,7 +20314,37 @@
"__id__": 64 "__id__": 64
}, },
"targetInfo": { "targetInfo": {
"__id__": 995
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"11S1XoDG5Ndo+S7MbRH4us"
]
},
{
"__type__": "cc.TargetInfo",
"localID": [
"b5xpz003VN+JjcOmrDrKg0"
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 64
},
"sourceInfo": {
"__id__": 997 "__id__": 997
},
"propertyPath": [
"sell_node"
],
"target": {
"__id__": 64
},
"targetInfo": {
"__id__": 998
} }
}, },
{ {
@@ -20347,25 +20356,25 @@
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"b5xpz003VN+JjcOmrDrKg0" "02JrX+YSZAXZFrDj1ZF6Vq"
] ]
}, },
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 64 "__id__": 75
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 999
},
"propertyPath": [
"sell_node"
],
"target": {
"__id__": 64
},
"targetInfo": {
"__id__": 1000 "__id__": 1000
},
"propertyPath": [
"icon_node"
],
"target": {
"__id__": 75
},
"targetInfo": {
"__id__": 1001
} }
}, },
{ {
@@ -20377,7 +20386,7 @@
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"02JrX+YSZAXZFrDj1ZF6Vq" "b5xpz003VN+JjcOmrDrKg0"
] ]
}, },
{ {
@@ -20386,16 +20395,16 @@
"__id__": 75 "__id__": 75
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1002
},
"propertyPath": [
"icon_node"
],
"target": {
"__id__": 75
},
"targetInfo": {
"__id__": 1003 "__id__": 1003
},
"propertyPath": [
"sell_node"
],
"target": {
"__id__": 75
},
"targetInfo": {
"__id__": 1004
} }
}, },
{ {
@@ -20407,25 +20416,25 @@
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"b5xpz003VN+JjcOmrDrKg0" "02JrX+YSZAXZFrDj1ZF6Vq"
] ]
}, },
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 75 "__id__": 86
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1005
},
"propertyPath": [
"sell_node"
],
"target": {
"__id__": 75
},
"targetInfo": {
"__id__": 1006 "__id__": 1006
},
"propertyPath": [
"icon_node"
],
"target": {
"__id__": 86
},
"targetInfo": {
"__id__": 1007
} }
}, },
{ {
@@ -20437,7 +20446,7 @@
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"02JrX+YSZAXZFrDj1ZF6Vq" "b5xpz003VN+JjcOmrDrKg0"
] ]
}, },
{ {
@@ -20446,16 +20455,16 @@
"__id__": 86 "__id__": 86
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1008
},
"propertyPath": [
"icon_node"
],
"target": {
"__id__": 86
},
"targetInfo": {
"__id__": 1009 "__id__": 1009
},
"propertyPath": [
"sell_node"
],
"target": {
"__id__": 86
},
"targetInfo": {
"__id__": 1010
} }
}, },
{ {
@@ -20467,25 +20476,25 @@
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"b5xpz003VN+JjcOmrDrKg0" "02JrX+YSZAXZFrDj1ZF6Vq"
] ]
}, },
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 86 "__id__": 96
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1011
},
"propertyPath": [
"sell_node"
],
"target": {
"__id__": 86
},
"targetInfo": {
"__id__": 1012 "__id__": 1012
},
"propertyPath": [
"icon_node"
],
"target": {
"__id__": 96
},
"targetInfo": {
"__id__": 1013
} }
}, },
{ {
@@ -20497,7 +20506,7 @@
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"02JrX+YSZAXZFrDj1ZF6Vq" "b5xpz003VN+JjcOmrDrKg0"
] ]
}, },
{ {
@@ -20506,16 +20515,16 @@
"__id__": 96 "__id__": 96
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1014
},
"propertyPath": [
"icon_node"
],
"target": {
"__id__": 96
},
"targetInfo": {
"__id__": 1015 "__id__": 1015
},
"propertyPath": [
"sell_node"
],
"target": {
"__id__": 96
},
"targetInfo": {
"__id__": 1016
} }
}, },
{ {
@@ -20527,25 +20536,25 @@
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"b5xpz003VN+JjcOmrDrKg0" "02JrX+YSZAXZFrDj1ZF6Vq"
] ]
}, },
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 96 "__id__": 106
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1017
},
"propertyPath": [
"sell_node"
],
"target": {
"__id__": 96
},
"targetInfo": {
"__id__": 1018 "__id__": 1018
},
"propertyPath": [
"icon_node"
],
"target": {
"__id__": 106
},
"targetInfo": {
"__id__": 1019
} }
}, },
{ {
@@ -20557,7 +20566,7 @@
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"02JrX+YSZAXZFrDj1ZF6Vq" "b5xpz003VN+JjcOmrDrKg0"
] ]
}, },
{ {
@@ -20566,37 +20575,7 @@
"__id__": 106 "__id__": 106
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1020
},
"propertyPath": [
"icon_node"
],
"target": {
"__id__": 106
},
"targetInfo": {
"__id__": 1021 "__id__": 1021
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"11S1XoDG5Ndo+S7MbRH4us"
]
},
{
"__type__": "cc.TargetInfo",
"localID": [
"b5xpz003VN+JjcOmrDrKg0"
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 106
},
"sourceInfo": {
"__id__": 1023
}, },
"propertyPath": [ "propertyPath": [
"sell_node" "sell_node"
@@ -20605,7 +20584,7 @@
"__id__": 106 "__id__": 106
}, },
"targetInfo": { "targetInfo": {
"__id__": 1024 "__id__": 1022
} }
}, },
{ {
@@ -20626,7 +20605,7 @@
"__id__": 116 "__id__": 116
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1026 "__id__": 1024
}, },
"propertyPath": [ "propertyPath": [
"icon_node" "icon_node"
@@ -20635,7 +20614,7 @@
"__id__": 116 "__id__": 116
}, },
"targetInfo": { "targetInfo": {
"__id__": 1027 "__id__": 1025
} }
}, },
{ {
@@ -20656,7 +20635,7 @@
"__id__": 116 "__id__": 116
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 1029 "__id__": 1027
}, },
"propertyPath": [ "propertyPath": [
"sell_node" "sell_node"
@@ -20665,7 +20644,7 @@
"__id__": 116 "__id__": 116
}, },
"targetInfo": { "targetInfo": {
"__id__": 1030 "__id__": 1028
} }
}, },
{ {