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": [
{
@@ -168,7 +172,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "Pda866NWkdQmjRO6KXJuOY"
"fileId": "lgvoSUemylfiHKFuWFPrqX"
},
{
"__type__": "cc.UITransform",
@@ -196,7 +200,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "X9Ol3V2LBqVbnRM6MhOLyz"
"fileId": "LUTmhhVpqmVn2kRVYdSgxQ"
},
{
"__type__": "cc.ProgressBar",
@@ -234,7 +238,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "J3KwtsMdpurmWVjh9Eh7Kp"
"fileId": "rghHHiUfsTaKB6HqUSMPkz"
},
{
"__type__": "cc.Widget",
@@ -248,14 +252,14 @@
"__prefab": {
"__id__": 8
},
"_alignFlags": 45,
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 569.5,
"_verticalCenter": 168.5,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
@@ -276,14 +280,14 @@
"asset": {
"__id__": 0
},
"fileId": "chxWR5DPKUVCzLlo5XGVvA",
"fileId": "YEmQgvK5JPmp4C97yoIGyw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "MDZAGEVNBDRyYrq4pKFhLE"
"fileId": "VTWhI5Krt1Tl1PaqyNMZon"
},
{
"__type__": "cc.UITransform",
@@ -311,7 +315,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "jJHgeXr4FQEWQO4XIzOOHh"
"fileId": "yL4foD2NoKexjcw320r6Zv"
},
{
"__type__": "cc.Widget",
@@ -353,14 +357,14 @@
"asset": {
"__id__": 0
},
"fileId": "slVD8fJQaBPa4l52pf5IXq",
"fileId": "YbZwuoc1Ik2eMvbYtIThrx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ZxNiZBkby9tj7SSbfpOQmU"
"fileId": "Oboy7HvfDZjdE4wduUnatv"
},
{
"__type__": "cc.UITransform",
@@ -388,7 +392,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "h4SYJyuqRHeM6Xiu5UirLi"
"fileId": "d57ausRj4Y5wkaGB3TmLhi"
},
{
"__type__": "cc.Widget",
@@ -430,7 +434,7 @@
"asset": {
"__id__": 0
},
"fileId": "ur25Y7TU0TKvsIbemih80X",
"fileId": "9E4FREnUmy3G7q42HYy9QW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null