feat(scripts): legacy-layer → Cocos prefab 批量迁移完成(7 ok / 6 expected-fail)

This commit is contained in:
2026-09-02 08:45:18 +08:00
parent 601de1f903
commit 7e0a8b79a4
16 changed files with 13949 additions and 156 deletions
@@ -17,7 +17,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [],
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
@@ -177,7 +181,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "x0IvAcFprR09jBj3F9ZqfM"
"fileId": "Bc34HG9pqqr62i3Yt8y7oL"
},
{
"__type__": "cc.UITransform",
@@ -205,7 +209,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "k27YpdDROJN3PwtpFBqu2X"
"fileId": "B6B3jI1NQwoddgPYj0pk5X"
},
{
"__type__": "cc.Sprite",
@@ -250,7 +254,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4kra9jO2Upq0a8CDkFGk6y"
"fileId": "sZRQwrbf1FlCZZVxt3RdFM"
},
{
"__type__": "cc.Widget",
@@ -292,7 +296,7 @@
"asset": {
"__id__": 0
},
"fileId": "A2rJprBVu5rQ1lfyfhnoE1",
"fileId": "TBRlxqRlqNf5udI0qEObLJ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -352,7 +356,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1tAFH2qR4PNs5TcEj9WbBN"
"fileId": "IhoTFvDhihla8gCAED5M57"
},
{
"__type__": "cc.UITransform",
@@ -380,7 +384,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "H0F6KOqTnrFHqBlxYya7nW"
"fileId": "dV6uRRNAxMdqX7rezx2wsp"
},
{
"__type__": "cc.Sprite",
@@ -425,7 +429,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8BOyuPKPZHetZAnf80c7wu"
"fileId": "DMpXRTjruPOQHk2MOZ6Twx"
},
{
"__type__": "cc.Widget",
@@ -467,7 +471,7 @@
"asset": {
"__id__": 0
},
"fileId": "zMXkBOeB9BIiYszl2FyzWz",
"fileId": "BSdW43S4uQDqGA9Yz3eKkV",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -527,7 +531,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "R4LbfxF9leygoYiRZDazU1"
"fileId": "MsFDTjsRppAbTiwMaXgGTa"
},
{
"__type__": "cc.UITransform",
@@ -555,7 +559,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "uzrkcGNHVyWfKzKkcHwPMk"
"fileId": "Ffzu9dTuFBVOoyFTM2sd9f"
},
{
"__type__": "cc.Sprite",
@@ -600,7 +604,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "n4E6Phc2Du7834JbFXg4nd"
"fileId": "eNEFpALsFqSYRMKBbI35Xv"
},
{
"__type__": "cc.Widget",
@@ -642,7 +646,7 @@
"asset": {
"__id__": 0
},
"fileId": "297AVROK4atf6oUqkN1hbU",
"fileId": "a2OqsVaMoVd6ytsdjR5HsJ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -702,7 +706,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "MXs4krBnTwKs9jcRoWsoue"
"fileId": "tnMhPyZCiweDR17uayu0Dm"
},
{
"__type__": "cc.UITransform",
@@ -730,7 +734,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "RSxoUbKQ13s5FDPa4S8stK"
"fileId": "Yd148vq4UElV19Oumdsvi3"
},
{
"__type__": "cc.Sprite",
@@ -775,7 +779,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "S8Gp4f43opGMNFU8yqYvIr"
"fileId": "3VEGZNpTd8qZkFK6Rrra4E"
},
{
"__type__": "cc.Widget",
@@ -817,14 +821,14 @@
"asset": {
"__id__": 0
},
"fileId": "F94TpZYd1zvtC2C8Nuvc9j",
"fileId": "l5rjLCKVe490Tv1wFJRrDf",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "CpXRd4oB7tzsDjXicMDoBj"
"fileId": "Op0C6lW9oiozuWBt0I6mbt"
},
{
"__type__": "cc.UITransform",
@@ -852,7 +856,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2ENhII9krOzYmsdNNyONVy"
"fileId": "UQbdRmgN3VpIf0eBGKRuMN"
},
{
"__type__": "cc.Widget",
@@ -894,14 +898,14 @@
"asset": {
"__id__": 0
},
"fileId": "Qt4q2pzjFx5f5d4OA92IMG",
"fileId": "ViVuA8fZgijO5xDrE6MofW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9JRbFTOp1wkFliPtymUsWo"
"fileId": "SYgxcIVfCQ0rK2PDCAVlvp"
},
{
"__type__": "cc.UITransform",
@@ -929,7 +933,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bxFGsUwP3dv7LOuTH9hMVB"
"fileId": "yDMUV9sUeZSZ4fZfqQT2aw"
},
{
"__type__": "cc.Widget",
@@ -971,7 +975,7 @@
"asset": {
"__id__": 0
},
"fileId": "9oCxJX1UEvxpUeW4I1c8XL",
"fileId": "2EpIxmBasuffqQyPlMKTQI",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null