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
@@ -1,5 +1,5 @@
--- YouleNexus/assets/framework/ui/prefabs/widgets/Layer619_BackOtherGame.prefab 2026-09-01 01:34:18.571553100 +0800
+++ YouleNexus\out\legacy-migration\BackHall_Layer.prefab 2026-09-02 08:30:19.504409200 +0800
+++ YouleNexus\out\legacy-migration\BackHall_Layer.prefab 2026-09-02 08:45:03.931491900 +0800
@@ -1,7 +1,7 @@
[
{
@@ -9,7 +9,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
@@ -13,197 +13,35 @@
@@ -13,197 +13,39 @@
},
{
"__type__": "cc.Node",
@@ -18,9 +18,9 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
- "_children": [
- {
- "__id__": 2
"_children": [
{
"__id__": 2
- },
- {
- "__id__": 3
@@ -33,11 +33,11 @@
- },
- {
- "__id__": 6
- }
- ],
- "_active": true,
- "_components": [
- {
}
],
"_active": true,
"_components": [
{
- "__id__": 50
- }
- ],
@@ -80,14 +80,13 @@
- "_parent": {
- "__id__": 1
- },
"_children": [],
"_active": true,
"_components": [
{
- "_children": [],
- "_active": true,
- "_components": [
- {
- "__id__": 7
+ "__id__": 17
},
{
- },
- {
- "__id__": 9
- },
- {
@@ -138,8 +137,9 @@
- "_components": [
- {
- "__id__": 14
- },
- {
+ "__id__": 17
},
{
- "__id__": 16
+ "__id__": 19
}
@@ -213,7 +213,7 @@
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -223,7 +61,7 @@
@@ -223,7 +65,7 @@
},
{
"__type__": "cc.Node",
@@ -222,7 +222,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -231,35 +69,33 @@
@@ -231,35 +73,33 @@
},
"_children": [
{
@@ -266,7 +266,7 @@
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -279,43 +115,40 @@
@@ -279,43 +119,40 @@
},
{
"__type__": "cc.Node",
@@ -321,12 +321,12 @@
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -334,21 +167,25 @@
@@ -334,21 +171,25 @@
"_id": ""
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "Pda866NWkdQmjRO6KXJuOY"
+ "fileId": "lgvoSUemylfiHKFuWFPrqX"
+ },
+ {
"__type__": "cc.UITransform",
@@ -351,12 +351,12 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -359,23 +196,19 @@
@@ -359,23 +200,19 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "Nz93+bSWC6Lz1cqasxtq7T"
+ "fileId": "X9Ol3V2LBqVbnRM6MhOLyz"
+ "fileId": "LUTmhhVpqmVn2kRVYdSgxQ"
},
{
- "__type__": "cc.Sprite",
@@ -379,7 +379,7 @@
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -387,88 +220,24 @@
@@ -387,88 +224,24 @@
"b": 255,
"a": 255
},
@@ -471,7 +471,7 @@
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "qSYnT1cR5lVp3mlhpxSvWC"
+ "fileId": "J3KwtsMdpurmWVjh9Eh7Kp"
+ "fileId": "rghHHiUfsTaKB6HqUSMPkz"
},
{
- "__type__": "cc.Label",
@@ -479,7 +479,7 @@
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -477,32 +246,29 @@
@@ -477,32 +250,29 @@
},
"_enabled": true,
"__prefab": {
@@ -503,14 +503,14 @@
- "_isUnderline": false,
- "_underlineHeight": 2,
- "_cacheMode": 0,
+ "_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,
@@ -531,12 +531,12 @@
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -510,135 +276,14 @@
@@ -510,135 +280,14 @@
"asset": {
"__id__": 0
},
- "fileId": "42TmR4jo5Ku4x5qSH0hBQE",
+ "fileId": "chxWR5DPKUVCzLlo5XGVvA",
+ "fileId": "YEmQgvK5JPmp4C97yoIGyw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -665,11 +665,11 @@
- "z": 0
- },
- "_id": ""
+ "fileId": "MDZAGEVNBDRyYrq4pKFhLE"
+ "fileId": "VTWhI5Krt1Tl1PaqyNMZon"
},
{
"__type__": "cc.UITransform",
@@ -646,16 +291,16 @@
@@ -646,16 +295,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
@@ -690,12 +690,12 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -666,44 +311,41 @@
@@ -666,44 +315,41 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "EdM76YkHb7wqTyQDtqhCSO"
+ "fileId": "jJHgeXr4FQEWQO4XIzOOHh"
+ "fileId": "yL4foD2NoKexjcw320r6Zv"
},
{
- "__type__": "cc.Label",
@@ -757,12 +757,12 @@
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -711,203 +353,14 @@
@@ -711,203 +357,14 @@
"asset": {
"__id__": 0
},
- "fileId": "6aSLwJjdJNo4N5tus4cWOO",
+ "fileId": "slVD8fJQaBPa4l52pf5IXq",
+ "fileId": "YbZwuoc1Ik2eMvbYtIThrx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -792,7 +792,7 @@
- "_id": ""
- },
- {
"__type__": "cc.CompPrefabInfo",
- "__type__": "cc.CompPrefabInfo",
- "fileId": "4LJiTnsexa+c9Ug9YBpGln"
- },
- {
@@ -837,7 +837,7 @@
- "_id": ""
- },
- {
- "__type__": "cc.CompPrefabInfo",
"__type__": "cc.CompPrefabInfo",
- "fileId": "cuT2peV+ddq3jcNzZoVx5l"
- },
- {
@@ -959,11 +959,11 @@
- "z": 0
- },
- "_id": ""
+ "fileId": "ZxNiZBkby9tj7SSbfpOQmU"
+ "fileId": "Oboy7HvfDZjdE4wduUnatv"
},
{
"__type__": "cc.UITransform",
@@ -915,92 +368,16 @@
@@ -915,92 +372,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
@@ -1059,13 +1059,14 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1011,126 +388,10 @@
@@ -1011,126 +392,10 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "AGB0G5BF1YyiNtQeJAcurv"
- },
- {
+ "fileId": "d57ausRj4Y5wkaGB3TmLhi"
},
{
- "__type__": "cc.Sprite",
- "_name": "",
- "_objFlags": 0,
@@ -1109,9 +1110,8 @@
- {
- "__type__": "cc.CompPrefabInfo",
- "fileId": "h37wdN+UgnU17SY2M12hdW"
+ "fileId": "h4SYJyuqRHeM6Xiu5UirLi"
},
{
- },
- {
- "__type__": "cc.Button",
- "_name": "",
- "_objFlags": 0,
@@ -1188,7 +1188,7 @@
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -1139,25 +400,29 @@
@@ -1139,25 +404,29 @@
},
"_enabled": true,
"__prefab": {
@@ -1233,12 +1233,12 @@
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -1165,7 +430,7 @@
@@ -1165,7 +434,7 @@
"asset": {
"__id__": 0
},
- "fileId": "a0XVVb+sJBzKcACQDAyw8u",
+ "fileId": "ur25Y7TU0TKvsIbemih80X",
+ "fileId": "9E4FREnUmy3G7q42HYy9QW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -0,0 +1,828 @@
[
{
"__type__": "cc.Prefab",
"_name": "Kick_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "Kick_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 35
}
],
"_prefab": {
"__id__": 36
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "group-33",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 11
},
{
"__id__": 19
}
],
"_active": true,
"_components": [
{
"__id__": 28
},
{
"__id__": 30
}
],
"_prefab": {
"__id__": 31
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "强制下线提示",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "kE6LE7ZPngpEnTZDG56jD7"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "oSQP3GSET4d28wsIcHNQc3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "PvQKqEgyrqGIpVxldLH0dF"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "UOL7tlMjiwPHxFhVuVIU1G",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "强制下线提示底",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
}
],
"_prefab": {
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -1,
"y": 15.5,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "hI59LMXSIgnC3dATfcasVw"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"height": 105
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "VIjQgaWrTQvUZQTQn04wBA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6GTM8rYIooqs41rRqOfoGc"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": -1,
"_verticalCenter": 15.5,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "wUFYQuewcIysSKXSSLXJIT",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "强制退出提示文字",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
},
{
"__id__": 23
},
{
"__id__": 25
}
],
"_prefab": {
"__id__": 26
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -18,
"y": 16,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "KIzyOmPUHM7PJQZRfbStvp"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
"width": 168,
"height": 28
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "D6OsEVypgMO97M6JZyvK3m"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "强制退出提示文字",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "t4axDsffNbZYDEKWhffiOq"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": -18,
"_verticalCenter": 16,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "uPd70tPS9q3q5mFmmNiHfU",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fK5DGde6yegBQW88QWoEmP"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 27
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1600,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3GYFqKOFRiYD4fZuXCm8YA"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 29
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "txcDTI6tYUpR526yfdOOud",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "mshy5g4OCtb7bYwiOM5jAe"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1600,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "rzopmrTi01pnv3jRtmsHuW"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 34
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "xr6Zow5iZKERVkXgcRIPxb",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
}
]
@@ -0,0 +1,861 @@
--- G:\Works\YouleGamesCocosCreator\cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/Layer616_Kick.prefab 2026-09-01 01:11:28.314999200 +0800
+++ G:\Works\YouleGamesCocosCreator\cocoscreator_projects\YouleNexus\out\legacy-migration\Kick_Layer.prefab 2026-09-02 08:44:24.283501400 +0800
@@ -1,7 +1,7 @@
[
{
"__type__": "cc.Prefab",
- "_name": "Layer616_Kick",
+ "_name": "Kick_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
@@ -13,29 +13,26 @@
},
{
"__type__": "cc.Node",
- "_name": "Layer616_Kick",
+ "_name": "Kick_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
- },
- {
- "__id__": 3
- },
- {
- "__id__": 4
}
],
"_active": true,
"_components": [
{
- "__id__": 24
+ "__id__": 33
+ },
+ {
+ "__id__": 35
}
],
"_prefab": {
- "__id__": 26
+ "__id__": 36
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -47,7 +44,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
- "z": 0
+ "z": 0,
+ "w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -67,27 +65,34 @@
},
{
"__type__": "cc.Node",
- "_name": "Mask",
+ "_name": "group-33",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
- "_children": [],
- "_active": true,
- "_components": [
+ "_children": [
{
- "__id__": 5
+ "__id__": 3
},
{
- "__id__": 7
+ "__id__": 11
},
{
- "__id__": 9
+ "__id__": 19
+ }
+ ],
+ "_active": true,
+ "_components": [
+ {
+ "__id__": 28
+ },
+ {
+ "__id__": 30
}
],
"_prefab": {
- "__id__": 11
+ "__id__": 31
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -99,7 +104,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
- "z": 0
+ "z": 0,
+ "w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -119,27 +125,27 @@
},
{
"__type__": "cc.Node",
- "_name": "Box",
+ "_name": "强制下线提示",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 1
+ "__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 12
+ "__id__": 5
},
{
- "__id__": 14
+ "__id__": 7
},
{
- "__id__": 16
+ "__id__": 9
}
],
"_prefab": {
- "__id__": 18
+ "__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -151,7 +157,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
- "z": 0
+ "z": 0,
+ "w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -170,37 +177,163 @@
"_id": ""
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "kE6LE7ZPngpEnTZDG56jD7"
+ },
+ {
+ "__type__": "cc.UITransform",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 3
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 4
+ },
+ "_contentSize": {
+ "__type__": "cc.Size",
+ "width": 1280,
+ "height": 720
+ },
+ "_anchorPoint": {
+ "__type__": "cc.Vec2",
+ "x": 0.5,
+ "y": 0.5
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "oSQP3GSET4d28wsIcHNQc3"
+ },
+ {
+ "__type__": "cc.Sprite",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 3
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 6
+ },
+ "_customMaterial": null,
+ "_srcBlendFactor": 2,
+ "_dstBlendFactor": 4,
+ "_color": {
+ "__type__": "cc.Color",
+ "r": 255,
+ "g": 255,
+ "b": 255,
+ "a": 255
+ },
+ "_spriteFrame": {
+ "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941",
+ "__expectedType__": "cc.SpriteFrame"
+ },
+ "_type": 0,
+ "_fillType": 0,
+ "_sizeMode": 0,
+ "_fillCenter": {
+ "__type__": "cc.Vec2",
+ "x": 0,
+ "y": 0
+ },
+ "_fillStart": 0,
+ "_fillRange": 0,
+ "_isTrimmedMode": true,
+ "_useGrayscale": false,
+ "_atlas": null,
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "PvQKqEgyrqGIpVxldLH0dF"
+ },
+ {
+ "__type__": "cc.Widget",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 3
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 8
+ },
+ "_alignFlags": 24,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": 0,
+ "_verticalCenter": 0,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
+ "_id": ""
+ },
+ {
+ "__type__": "cc.PrefabInfo",
+ "root": {
+ "__id__": 1
+ },
+ "asset": {
+ "__id__": 0
+ },
+ "fileId": "UOL7tlMjiwPHxFhVuVIU1G",
+ "instance": null,
+ "targetOverrides": null,
+ "nestedPrefabInstanceRoots": null
+ },
+ {
"__type__": "cc.Node",
- "_name": "Msg",
+ "_name": "强制下线提示底",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 1
+ "__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 19
+ "__id__": 13
},
{
- "__id__": 21
+ "__id__": 15
+ },
+ {
+ "__id__": 17
}
],
"_prefab": {
- "__id__": 23
+ "__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
- "x": 0,
- "y": 0,
+ "x": -1,
+ "y": 15.5,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
- "z": 0
+ "z": 0,
+ "w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -219,21 +352,25 @@
"_id": ""
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "hI59LMXSIgnC3dATfcasVw"
+ },
+ {
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 2
+ "__id__": 11
},
"_enabled": true,
"__prefab": {
- "__id__": 6
+ "__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 1600,
- "height": 720
+ "width": 600,
+ "height": 105
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -244,7 +381,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "bBb5QPSRmbkcpVh/HLrKk2"
+ "fileId": "VIjQgaWrTQvUZQTQn04wBA"
},
{
"__type__": "cc.Sprite",
@@ -252,15 +389,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 2
+ "__id__": 11
},
"_enabled": true,
"__prefab": {
- "__id__": 8
- },
- "_spriteFrame": {
- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
- "__expectedType__": "cc.SpriteFrame"
+ "__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -272,7 +405,11 @@
"b": 255,
"a": 255
},
- "_type": 1,
+ "_spriteFrame": {
+ "__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941",
+ "__expectedType__": "cc.SpriteFrame"
+ },
+ "_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
@@ -289,29 +426,41 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "bAOCAOHuOZ7UL4HQIcuQo7"
+ "fileId": "6GTM8rYIooqs41rRqOfoGc"
},
{
- "__type__": "cc.UIOpacity",
+ "__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 2
+ "__id__": 11
},
"_enabled": true,
"__prefab": {
- "__id__": 10
+ "__id__": 16
},
- "opacity": 150,
- "_opacity": 150,
+ "_alignFlags": 24,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": -1,
+ "_verticalCenter": 15.5,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
"_id": ""
},
{
- "__type__": "cc.CompPrefabInfo",
- "fileId": "J0efIPX8OPItJEWTIWsRSW"
- },
- {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -319,27 +468,84 @@
"asset": {
"__id__": 0
},
- "fileId": "4fJaVX8EdBlL3G7d1LQDCQ",
+ "fileId": "wUFYQuewcIysSKXSSLXJIT",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
+ "__type__": "cc.Node",
+ "_name": "强制退出提示文字",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "_parent": {
+ "__id__": 2
+ },
+ "_children": [],
+ "_active": true,
+ "_components": [
+ {
+ "__id__": 21
+ },
+ {
+ "__id__": 23
+ },
+ {
+ "__id__": 25
+ }
+ ],
+ "_prefab": {
+ "__id__": 26
+ },
+ "_lpos": {
+ "__type__": "cc.Vec3",
+ "x": -18,
+ "y": 16,
+ "z": 0
+ },
+ "_lrot": {
+ "__type__": "cc.Quat",
+ "x": 0,
+ "y": 0,
+ "z": 0,
+ "w": 1
+ },
+ "_lscale": {
+ "__type__": "cc.Vec3",
+ "x": 1,
+ "y": 1,
+ "z": 1
+ },
+ "_mobility": 0,
+ "_layer": 1073741824,
+ "_euler": {
+ "__type__": "cc.Vec3",
+ "x": 0,
+ "y": 0,
+ "z": 0
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "KIzyOmPUHM7PJQZRfbStvp"
+ },
+ {
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 3
+ "__id__": 19
},
"_enabled": true,
"__prefab": {
- "__id__": 13
+ "__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 600,
- "height": 200
+ "width": 168,
+ "height": 28
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -350,23 +556,19 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "6vSKYsu+DYw1OVxhZaYhSC"
+ "fileId": "D6OsEVypgMO97M6JZyvK3m"
},
{
- "__type__": "cc.Sprite",
+ "__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 3
+ "__id__": 19
},
"_enabled": true,
"__prefab": {
- "__id__": 15
- },
- "_spriteFrame": {
- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
- "__expectedType__": "cc.SpriteFrame"
+ "__id__": 22
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -378,46 +580,85 @@
"b": 255,
"a": 255
},
- "_type": 1,
- "_fillType": 0,
- "_sizeMode": 0,
- "_fillCenter": {
+ "_string": "强制退出提示文字",
+ "_horizontalAlign": 1,
+ "_verticalAlign": 1,
+ "_actualFontSize": 40,
+ "_fontSize": 40,
+ "_fontFamily": "Arial",
+ "_lineHeight": 40,
+ "_overflow": 0,
+ "_enableWrapText": true,
+ "_font": null,
+ "_isSystemFontUsed": true,
+ "_spacingX": 0,
+ "_isItalic": false,
+ "_isBold": false,
+ "_isUnderline": false,
+ "_underlineHeight": 2,
+ "_cacheMode": 0,
+ "_enableOutline": false,
+ "_outlineColor": {
+ "__type__": "cc.Color",
+ "r": 0,
+ "g": 0,
+ "b": 0,
+ "a": 255
+ },
+ "_outlineWidth": 2,
+ "_enableShadow": false,
+ "_shadowColor": {
+ "__type__": "cc.Color",
+ "r": 0,
+ "g": 0,
+ "b": 0,
+ "a": 255
+ },
+ "_shadowOffset": {
"__type__": "cc.Vec2",
- "x": 0,
- "y": 0
+ "x": 2,
+ "y": 2
},
- "_fillStart": 0,
- "_fillRange": 0,
- "_isTrimmedMode": true,
- "_useGrayscale": false,
- "_atlas": null,
+ "_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "NTBEIOWNmXik82bAKGk4sy"
+ "fileId": "t4axDsffNbZYDEKWhffiOq"
},
{
- "__type__": "cc.UIOpacity",
+ "__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 3
+ "__id__": 19
},
"_enabled": true,
"__prefab": {
- "__id__": 17
+ "__id__": 24
},
- "opacity": 250,
- "_opacity": 250,
+ "_alignFlags": 24,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": -18,
+ "_verticalCenter": 16,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
"_id": ""
},
{
- "__type__": "cc.CompPrefabInfo",
- "fileId": "iXFqu9yKYKH7L+F/dZuJ0b"
- },
- {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -425,27 +666,31 @@
"asset": {
"__id__": 0
},
- "fileId": "97a9f40J1Gh40RhIYRVA35",
+ "fileId": "uPd70tPS9q3q5mFmmNiHfU",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "fK5DGde6yegBQW88QWoEmP"
+ },
+ {
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 4
+ "__id__": 2
},
"_enabled": true,
"__prefab": {
- "__id__": 20
+ "__id__": 27
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 280,
- "height": 50.4
+ "width": 1600,
+ "height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -456,44 +701,41 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "nAFjHNSUZqSyelXg05IxLd"
+ "fileId": "3GYFqKOFRiYD4fZuXCm8YA"
},
{
- "__type__": "cc.Label",
+ "__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 4
+ "__id__": 2
},
"_enabled": true,
"__prefab": {
- "__id__": 22
+ "__id__": 29
},
- "_string": "您已被强制下线",
- "_horizontalAlign": 1,
- "_verticalAlign": 1,
- "_actualFontSize": 40,
- "_fontSize": 40,
- "_fontFamily": "Arial",
- "_lineHeight": 40,
- "_overflow": 0,
- "_enableWrapText": true,
- "_font": null,
- "_isSystemFontUsed": true,
- "_spacingX": 0,
- "_isItalic": false,
- "_isBold": false,
- "_isUnderline": false,
- "_underlineHeight": 2,
- "_cacheMode": 0,
+ "_alignFlags": 45,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": 0,
+ "_verticalCenter": 0,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
"_id": ""
},
{
- "__type__": "cc.CompPrefabInfo",
- "fileId": "M8ypsgiFN+6gf54xg4JfdF"
- },
- {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -501,12 +743,16 @@
"asset": {
"__id__": 0
},
- "fileId": "819z+amLtH565kLKEADSYS",
+ "fileId": "txcDTI6tYUpR526yfdOOud",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "mshy5g4OCtb7bYwiOM5jAe"
+ },
+ {
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
@@ -516,12 +762,12 @@
},
"_enabled": true,
"__prefab": {
- "__id__": 25
+ "__id__": 32
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 100,
- "height": 100
+ "width": 1600,
+ "height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -532,7 +778,39 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "B2tbLLIneq/VDdGVPFWXyZ"
+ "fileId": "rzopmrTi01pnv3jRtmsHuW"
+ },
+ {
+ "__type__": "cc.Widget",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 1
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 34
+ },
+ "_alignFlags": 45,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": 0,
+ "_verticalCenter": 0,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
+ "_id": ""
},
{
"__type__": "cc.PrefabInfo",
@@ -542,7 +820,7 @@
"asset": {
"__id__": 0
},
- "fileId": "61vgTSReVFa4iBg6sp/GTw",
+ "fileId": "xr6Zow5iZKERVkXgcRIPxb",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -0,0 +1,620 @@
[
{
"__type__": "cc.Prefab",
"_name": "Loading_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "Loading_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 25
},
{
"__id__": 27
}
],
"_prefab": {
"__id__": 28
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "group-40",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 11
}
],
"_active": true,
"_components": [
{
"__id__": 20
},
{
"__id__": 22
}
],
"_prefab": {
"__id__": 23
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "载入遮罩",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bgFPcCvdzkbU3cRwe0igV9"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "px6CUAi7AxxBT9r4T72wlz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "scizfUwnRjMB2wvcHYH3hR"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "UqFWnxTk8gOS4YSF8p7vTm",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "载入动画",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
}
],
"_prefab": {
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cobDdbjKZsDYlww88xCcaN"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6qVhLJigTx9qcXqyATGSrT"
},
{
"__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "e966950a-fe3c-41d9-adcb-b8950fb77ae1@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_reverse": false,
"_totalLength": 100,
"_progress": 0,
"_barSprite": null,
"_mode": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "wGre0V28x5HhNIL7mAKpIn"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3Uy5rHQp3avv1lNfD7X2vf",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "vx2PuAMjkkW5FPA3mZSK4L"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1600,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fFXF7iGboTzCtU3S4Dc1MU"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5WeBAyT302zJ9aNOkTg7NR",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "lP9iaJKVN8EdQqyVTQvy9a"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1600,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "gngVZAms0UeFVhJysk9GUc"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 26
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "iEisngIKkv38WihERwsgth",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
}
]
@@ -0,0 +1,618 @@
--- G:\Works\YouleGamesCocosCreator\cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/Layer614_Loading.prefab 2026-09-01 01:10:37.375090300 +0800
+++ G:\Works\YouleGamesCocosCreator\cocoscreator_projects\YouleNexus\out\legacy-migration\Loading_Layer.prefab 2026-09-02 08:44:23.950055500 +0800
@@ -1,7 +1,7 @@
[
{
"__type__": "cc.Prefab",
- "_name": "Layer614_Loading",
+ "_name": "Loading_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
@@ -13,26 +13,26 @@
},
{
"__type__": "cc.Node",
- "_name": "Layer614_Loading",
+ "_name": "Loading_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
- },
- {
- "__id__": 3
}
],
"_active": true,
"_components": [
{
- "__id__": 16
+ "__id__": 25
+ },
+ {
+ "__id__": 27
}
],
"_prefab": {
- "__id__": 18
+ "__id__": 28
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -44,7 +44,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
- "z": 0
+ "z": 0,
+ "w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -64,27 +65,31 @@
},
{
"__type__": "cc.Node",
- "_name": "Bg",
+ "_name": "group-40",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
- "_children": [],
- "_active": true,
- "_components": [
+ "_children": [
{
- "__id__": 4
+ "__id__": 3
},
{
- "__id__": 6
+ "__id__": 11
+ }
+ ],
+ "_active": true,
+ "_components": [
+ {
+ "__id__": 20
},
{
- "__id__": 8
+ "__id__": 22
}
],
"_prefab": {
- "__id__": 10
+ "__id__": 23
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -96,7 +101,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
- "z": 0
+ "z": 0,
+ "w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -116,24 +122,27 @@
},
{
"__type__": "cc.Node",
- "_name": "Msg",
+ "_name": "载入遮罩",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
- "__id__": 1
+ "__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 11
+ "__id__": 5
},
{
- "__id__": 13
+ "__id__": 7
+ },
+ {
+ "__id__": 9
}
],
"_prefab": {
- "__id__": 15
+ "__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -145,7 +154,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
- "z": 0
+ "z": 0,
+ "w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -164,21 +174,25 @@
"_id": ""
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "bgFPcCvdzkbU3cRwe0igV9"
+ },
+ {
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 2
+ "__id__": 3
},
"_enabled": true,
"__prefab": {
- "__id__": 5
+ "__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 320,
- "height": 120
+ "width": 1280,
+ "height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -189,7 +203,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "9nSCnycEN4FqmL4nmLj5sk"
+ "fileId": "px6CUAi7AxxBT9r4T72wlz"
},
{
"__type__": "cc.Sprite",
@@ -197,15 +211,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 2
+ "__id__": 3
},
"_enabled": true,
"__prefab": {
- "__id__": 7
- },
- "_spriteFrame": {
- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
- "__expectedType__": "cc.SpriteFrame"
+ "__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -217,7 +227,11 @@
"b": 255,
"a": 255
},
- "_type": 1,
+ "_spriteFrame": {
+ "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941",
+ "__expectedType__": "cc.SpriteFrame"
+ },
+ "_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
@@ -234,29 +248,41 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "fA/KbifYHNb6/Vu7mnxjpt"
+ "fileId": "scizfUwnRjMB2wvcHYH3hR"
},
{
- "__type__": "cc.UIOpacity",
+ "__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 2
+ "__id__": 3
},
"_enabled": true,
"__prefab": {
- "__id__": 9
+ "__id__": 8
},
- "opacity": 200,
- "_opacity": 200,
+ "_alignFlags": 24,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": 0,
+ "_verticalCenter": 0,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
"_id": ""
},
{
- "__type__": "cc.CompPrefabInfo",
- "fileId": "0PIMkmQOfYkwW25pL09zY6"
- },
- {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -264,18 +290,75 @@
"asset": {
"__id__": 0
},
- "fileId": "dbVI2KWDtIkraHgTioSGca",
+ "fileId": "UqFWnxTk8gOS4YSF8p7vTm",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
+ "__type__": "cc.Node",
+ "_name": "载入动画",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "_parent": {
+ "__id__": 2
+ },
+ "_children": [],
+ "_active": true,
+ "_components": [
+ {
+ "__id__": 13
+ },
+ {
+ "__id__": 15
+ },
+ {
+ "__id__": 17
+ }
+ ],
+ "_prefab": {
+ "__id__": 18
+ },
+ "_lpos": {
+ "__type__": "cc.Vec3",
+ "x": 0,
+ "y": 0,
+ "z": 0
+ },
+ "_lrot": {
+ "__type__": "cc.Quat",
+ "x": 0,
+ "y": 0,
+ "z": 0,
+ "w": 1
+ },
+ "_lscale": {
+ "__type__": "cc.Vec3",
+ "x": 1,
+ "y": 1,
+ "z": 1
+ },
+ "_mobility": 0,
+ "_layer": 1073741824,
+ "_euler": {
+ "__type__": "cc.Vec3",
+ "x": 0,
+ "y": 0,
+ "z": 0
+ },
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "cobDdbjKZsDYlww88xCcaN"
+ },
+ {
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 3
+ "__id__": 11
},
"_enabled": true,
"__prefab": {
@@ -283,8 +366,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 175.703125,
- "height": 50.4
+ "width": 150,
+ "height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -295,42 +378,154 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "OmseB+KMS2Umc8L5ochNhj"
+ "fileId": "6qVhLJigTx9qcXqyATGSrT"
},
{
- "__type__": "cc.Label",
+ "__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
- "__id__": 3
+ "__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
- "_string": "Loading...",
- "_horizontalAlign": 1,
- "_verticalAlign": 1,
- "_actualFontSize": 40,
- "_fontSize": 40,
- "_fontFamily": "Arial",
- "_lineHeight": 40,
- "_overflow": 0,
- "_enableWrapText": true,
- "_font": null,
- "_isSystemFontUsed": true,
- "_spacingX": 0,
- "_isItalic": false,
- "_isBold": false,
- "_isUnderline": false,
- "_underlineHeight": 2,
- "_cacheMode": 0,
+ "_customMaterial": null,
+ "_srcBlendFactor": 2,
+ "_dstBlendFactor": 4,
+ "_color": {
+ "__type__": "cc.Color",
+ "r": 255,
+ "g": 255,
+ "b": 255,
+ "a": 255
+ },
+ "_spriteFrame": {
+ "__uuid__": "e966950a-fe3c-41d9-adcb-b8950fb77ae1@f9941",
+ "__expectedType__": "cc.SpriteFrame"
+ },
+ "_type": 0,
+ "_reverse": false,
+ "_totalLength": 100,
+ "_progress": 0,
+ "_barSprite": null,
+ "_mode": 0,
+ "_id": ""
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "wGre0V28x5HhNIL7mAKpIn"
+ },
+ {
+ "__type__": "cc.Widget",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 11
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 16
+ },
+ "_alignFlags": 24,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": 0,
+ "_verticalCenter": 0,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
+ "_id": ""
+ },
+ {
+ "__type__": "cc.PrefabInfo",
+ "root": {
+ "__id__": 1
+ },
+ "asset": {
+ "__id__": 0
+ },
+ "fileId": "3Uy5rHQp3avv1lNfD7X2vf",
+ "instance": null,
+ "targetOverrides": null,
+ "nestedPrefabInstanceRoots": null
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "vx2PuAMjkkW5FPA3mZSK4L"
+ },
+ {
+ "__type__": "cc.UITransform",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 2
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 19
+ },
+ "_contentSize": {
+ "__type__": "cc.Size",
+ "width": 1600,
+ "height": 720
+ },
+ "_anchorPoint": {
+ "__type__": "cc.Vec2",
+ "x": 0.5,
+ "y": 0.5
+ },
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "MQ2+2oGKv8H/vi9QsN/5DW"
+ "fileId": "fFXF7iGboTzCtU3S4Dc1MU"
+ },
+ {
+ "__type__": "cc.Widget",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 2
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 21
+ },
+ "_alignFlags": 45,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": 0,
+ "_verticalCenter": 0,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
+ "_id": ""
},
{
"__type__": "cc.PrefabInfo",
@@ -340,12 +535,16 @@
"asset": {
"__id__": 0
},
- "fileId": "26xRcf0sBATa8tQfMVwsc6",
+ "fileId": "5WeBAyT302zJ9aNOkTg7NR",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "lP9iaJKVN8EdQqyVTQvy9a"
+ },
+ {
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
@@ -355,12 +554,12 @@
},
"_enabled": true,
"__prefab": {
- "__id__": 17
+ "__id__": 24
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 100,
- "height": 100
+ "width": 1600,
+ "height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -371,7 +570,39 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "NSvhOlPaO79ZOG50Gznx3f"
+ "fileId": "gngVZAms0UeFVhJysk9GUc"
+ },
+ {
+ "__type__": "cc.Widget",
+ "_name": "",
+ "_objFlags": 0,
+ "__editorExtras__": {},
+ "node": {
+ "__id__": 1
+ },
+ "_enabled": true,
+ "__prefab": {
+ "__id__": 26
+ },
+ "_alignFlags": 45,
+ "_target": null,
+ "_left": 0,
+ "_right": 0,
+ "_top": 0,
+ "_bottom": 0,
+ "_horizontalCenter": 0,
+ "_verticalCenter": 0,
+ "_isAbsLeft": true,
+ "_isAbsRight": true,
+ "_isAbsTop": true,
+ "_isAbsBottom": true,
+ "_isAbsHorizontalCenter": true,
+ "_isAbsVerticalCenter": true,
+ "_originalWidth": 0,
+ "_originalHeight": 0,
+ "_alignMode": 2,
+ "_lockFlags": 0,
+ "_id": ""
},
{
"__type__": "cc.PrefabInfo",
@@ -381,7 +612,7 @@
"asset": {
"__id__": 0
},
- "fileId": "82nnbSyS9L0ZEBspwvCtTr",
+ "fileId": "iEisngIKkv38WihERwsgth",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -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
@@ -1,5 +1,5 @@
--- YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab 2026-09-01 01:11:57.893374800 +0800
+++ YouleNexus\out\legacy-migration\Protol_Layer.prefab 2026-09-02 08:34:28.171418700 +0800
+++ YouleNexus\out\legacy-migration\Protol_Layer.prefab 2026-09-02 08:45:03.732546300 +0800
@@ -1,7 +1,7 @@
[
{
@@ -9,7 +9,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
@@ -13,32 +13,22 @@
@@ -13,32 +13,26 @@
},
{
"__type__": "cc.Node",
@@ -18,9 +18,9 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
- "_children": [
- {
- "__id__": 2
"_children": [
{
"__id__": 2
- },
- {
- "__id__": 3
@@ -30,9 +30,8 @@
- },
- {
- "__id__": 5
- }
- ],
+ "_children": [],
}
],
"_active": true,
"_components": [
{
@@ -49,7 +48,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -50,7 +40,8 @@
@@ -50,7 +44,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
@@ -59,7 +58,7 @@
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -70,125 +61,37 @@
@@ -70,125 +65,37 @@
},
{
"__type__": "cc.Node",
@@ -194,7 +193,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -200,7 +103,8 @@
@@ -200,7 +107,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
@@ -204,7 +203,7 @@
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -220,43 +124,40 @@
@@ -220,43 +128,40 @@
},
{
"__type__": "cc.Node",
@@ -258,12 +257,12 @@
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -275,21 +176,25 @@
@@ -275,21 +180,25 @@
"_id": ""
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "x0IvAcFprR09jBj3F9ZqfM"
+ "fileId": "Bc34HG9pqqr62i3Yt8y7oL"
+ },
+ {
"__type__": "cc.UITransform",
@@ -288,16 +287,16 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -300,7 +205,7 @@
@@ -300,7 +209,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "oXaUBE5FadJPKPV1kNBwB2"
+ "fileId": "k27YpdDROJN3PwtpFBqu2X"
+ "fileId": "B6B3jI1NQwoddgPYj0pk5X"
},
{
"__type__": "cc.Sprite",
@@ -308,15 +213,11 @@
@@ -308,15 +217,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
@@ -315,7 +314,7 @@
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -328,7 +229,11 @@
@@ -328,7 +233,11 @@
"b": 255,
"a": 255
},
@@ -328,12 +327,12 @@
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
@@ -345,29 +250,41 @@
@@ -345,29 +254,41 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "6Kb2nGRMAooTyFfd3Lyehj"
+ "fileId": "4kra9jO2Upq0a8CDkFGk6y"
+ "fileId": "sZRQwrbf1FlCZZVxt3RdFM"
},
{
- "__type__": "cc.UIOpacity",
@@ -380,12 +379,12 @@
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -375,151 +292,174 @@
@@ -375,151 +296,174 @@
"asset": {
"__id__": 0
},
- "fileId": "12kemrqntATYjK8nnBs4cG",
+ "fileId": "A2rJprBVu5rQ1lfyfhnoE1",
+ "fileId": "TBRlxqRlqNf5udI0qEObLJ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -461,7 +460,7 @@
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "6fuT3QWjUGU74W2qJnikSF"
+ "fileId": "1tAFH2qR4PNs5TcEj9WbBN"
+ "fileId": "IhoTFvDhihla8gCAED5M57"
},
{
- "__type__": "cc.Label",
@@ -523,7 +522,7 @@
- "instance": null,
- "targetOverrides": null,
- "nestedPrefabInstanceRoots": null
+ "fileId": "H0F6KOqTnrFHqBlxYya7nW"
+ "fileId": "dV6uRRNAxMdqX7rezx2wsp"
},
{
- "__type__": "cc.UITransform",
@@ -579,7 +578,7 @@
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "dPEVXxMhCo5XiYvPRL9RMs"
+ "fileId": "8BOyuPKPZHetZAnf80c7wu"
+ "fileId": "DMpXRTjruPOQHk2MOZ6Twx"
},
{
- "__type__": "cc.Label",
@@ -641,12 +640,12 @@
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
@@ -527,43 +467,47 @@
@@ -527,43 +471,47 @@
"asset": {
"__id__": 0
},
- "fileId": "91FXgVD3NDxoCyE64MzU0Q",
+ "fileId": "zMXkBOeB9BIiYszl2FyzWz",
+ "fileId": "BSdW43S4uQDqGA9Yz3eKkV",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -667,12 +666,12 @@
{
- "__id__": 24
+ "__id__": 21
+ },
+ {
+ "__id__": 23
},
{
- "__id__": 26
+ "__id__": 23
+ },
+ {
+ "__id__": 25
}
],
@@ -698,12 +697,12 @@
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -582,21 +526,25 @@
@@ -582,21 +530,25 @@
"_id": ""
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "R4LbfxF9leygoYiRZDazU1"
+ "fileId": "MsFDTjsRppAbTiwMaXgGTa"
+ },
+ {
"__type__": "cc.UITransform",
@@ -728,12 +727,12 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -607,42 +555,84 @@
@@ -607,42 +559,84 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "2lh0VzkfUMMVkQWokCZzYz"
+ "fileId": "uzrkcGNHVyWfKzKkcHwPMk"
+ "fileId": "Ffzu9dTuFBVOoyFTM2sd9f"
},
{
- "__type__": "cc.Label",
@@ -763,6 +762,14 @@
+ "_spriteFrame": {
+ "__uuid__": "998850c4-7861-4c12-8cb4-be7a7415c42a@f9941",
+ "__expectedType__": "cc.SpriteFrame"
+ },
+ "_type": 0,
+ "_fillType": 0,
+ "_sizeMode": 0,
+ "_fillCenter": {
+ "__type__": "cc.Vec2",
+ "x": 0,
+ "y": 0
},
- "_string": "同意",
- "_horizontalAlign": 1,
@@ -781,14 +788,6 @@
- "_isUnderline": false,
- "_underlineHeight": 2,
- "_cacheMode": 0,
+ "_type": 0,
+ "_fillType": 0,
+ "_sizeMode": 0,
+ "_fillCenter": {
+ "__type__": "cc.Vec2",
+ "x": 0,
+ "y": 0
+ },
+ "_fillStart": 0,
+ "_fillRange": 0,
+ "_isTrimmedMode": true,
@@ -799,7 +798,7 @@
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "hJE0C+184TvFR8bGendFq3"
+ "fileId": "n4E6Phc2Du7834JbFXg4nd"
+ "fileId": "eNEFpALsFqSYRMKBbI35Xv"
+ },
+ {
+ "__type__": "cc.Widget",
@@ -835,12 +834,12 @@
},
{
"__type__": "cc.PrefabInfo",
@@ -652,27 +642,84 @@
@@ -652,27 +646,84 @@
"asset": {
"__id__": 0
},
- "fileId": "0foVnezLdMaKOM1JSMLNEY",
+ "fileId": "297AVROK4atf6oUqkN1hbU",
+ "fileId": "a2OqsVaMoVd6ytsdjR5HsJ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -900,7 +899,7 @@
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "MXs4krBnTwKs9jcRoWsoue"
+ "fileId": "tnMhPyZCiweDR17uayu0Dm"
+ },
+ {
"__type__": "cc.UITransform",
@@ -925,16 +924,16 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -683,7 +730,7 @@
@@ -683,7 +734,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "b1ZgddyJxPMx64lUDbs5Ht"
+ "fileId": "RSxoUbKQ13s5FDPa4S8stK"
+ "fileId": "Yd148vq4UElV19Oumdsvi3"
},
{
"__type__": "cc.Sprite",
@@ -691,15 +738,11 @@
@@ -691,15 +742,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
@@ -952,7 +951,7 @@
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -711,7 +754,11 @@
@@ -711,7 +758,11 @@
"b": 255,
"a": 255
},
@@ -965,12 +964,12 @@
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
@@ -728,65 +775,116 @@
@@ -728,65 +779,116 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "zIQRK9nIRNfXI1eAmamlv+"
+ "fileId": "S8Gp4f43opGMNFU8yqYvIr"
+ "fileId": "3VEGZNpTd8qZkFK6Rrra4E"
},
{
- "__type__": "cc.Button",
@@ -1035,14 +1034,14 @@
- "g": 255,
- "b": 255,
- "a": 255
+ "fileId": "F94TpZYd1zvtC2C8Nuvc9j",
+ "fileId": "l5rjLCKVe490Tv1wFJRrDf",
+ "instance": null,
+ "targetOverrides": null,
+ "nestedPrefabInstanceRoots": null
+ },
+ {
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "CpXRd4oB7tzsDjXicMDoBj"
+ "fileId": "Op0C6lW9oiozuWBt0I6mbt"
+ },
+ {
+ "__type__": "cc.UITransform",
@@ -1086,7 +1085,7 @@
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "yfJ5G/LeFUJFLlB39J+0+C"
+ "fileId": "2ENhII9krOzYmsdNNyONVy"
+ "fileId": "UQbdRmgN3VpIf0eBGKRuMN"
+ },
+ {
+ "__type__": "cc.Widget",
@@ -1122,25 +1121,25 @@
},
{
"__type__": "cc.PrefabInfo",
@@ -796,12 +894,16 @@
@@ -796,12 +898,16 @@
"asset": {
"__id__": 0
},
- "fileId": "f7LFsNystNUqYo2DwvY0qM",
+ "fileId": "Qt4q2pzjFx5f5d4OA92IMG",
+ "fileId": "ViVuA8fZgijO5xDrE6MofW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
+ "__type__": "cc.CompPrefabInfo",
+ "fileId": "9JRbFTOp1wkFliPtymUsWo"
+ "fileId": "SYgxcIVfCQ0rK2PDCAVlvp"
+ },
+ {
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
@@ -811,12 +913,12 @@
@@ -811,12 +917,12 @@
},
"_enabled": true,
"__prefab": {
@@ -1156,12 +1155,12 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -827,7 +929,39 @@
@@ -827,7 +933,39 @@
},
{
"__type__": "cc.CompPrefabInfo",
- "fileId": "zQumdxaGzk8Ue2+Mf+gDOO"
+ "fileId": "bxFGsUwP3dv7LOuTH9hMVB"
+ "fileId": "yDMUV9sUeZSZ4fZfqQT2aw"
+ },
+ {
+ "__type__": "cc.Widget",
@@ -1197,12 +1196,12 @@
},
{
"__type__": "cc.PrefabInfo",
@@ -837,7 +971,7 @@
@@ -837,7 +975,7 @@
"asset": {
"__id__": 0
},
- "fileId": "ffywZn4uVL7aw3Apw1z+al",
+ "fileId": "9oCxJX1UEvxpUeW4I1c8XL",
+ "fileId": "2EpIxmBasuffqQyPlMKTQI",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,828 @@
[
{
"__type__": "cc.Prefab",
"_name": "updateRoomCard_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "updateRoomCard_Layer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 35
}
],
"_prefab": {
"__id__": 36
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "group-34",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 11
},
{
"__id__": 19
}
],
"_active": true,
"_components": [
{
"__id__": 28
},
{
"__id__": 30
}
],
"_prefab": {
"__id__": 31
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "房卡修改遮罩",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "PMtgJGV4i43HUw2ze6b0lg"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1Q6uY1Z9WFpcMgWJY3nH2I"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "SwquJ6T7HGA5D0NxZHLSmo"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "A4QDcR5UJf8yjuXDzVOPkz",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "房卡修改背景",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
}
],
"_prefab": {
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 12,
"y": 19.5,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "41dAwsVRkF0G2lK5xiLcLU"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 570,
"height": 105
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "NZYFZHNBjBdNGWQSXXoKYE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "DKqUwivGTVYxnc7LXAjE1c"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 12,
"_verticalCenter": 19.5,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "NqCat61lGN7yiwVeO31H7h",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "房卡修改提示文字",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
},
{
"__id__": 23
},
{
"__id__": 25
}
],
"_prefab": {
"__id__": 26
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -50,
"y": 22,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dm532BGJjB2aZNHpz1PdMi"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
"width": 168,
"height": 28
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "LWGC964Mcb5zucbBjSZtko"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "房卡修改提示文字",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "Nc9dD7qyJrFmq1WVk1m0KV"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"_alignFlags": 24,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": -50,
"_verticalCenter": 22,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "GkjvavsbQSlvvDq64HjcO1",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "w2c4v3GGXG2a3kPHEkr2wI"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 27
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1600,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "Veu7zEGD5sfR2vV9ojRTAp"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 29
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ChU5G14IaGKqncFD2fmdu2",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a9aLvdVmXDoXB4GqzvRJLj"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1600,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "FDY4fLVF3pmqA1vMNbRctB"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 34
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "8eBUIfd1BR75dFIZlxxcNl",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
}
]
@@ -1,6 +1,7 @@
// 递归收集 framework-tests 下所有 *.test.ts 交给 node 测试运行器。
// 递归收集 framework-tests 下所有 *.test.{ts,mjs} 交给 node 测试运行器。
// node --test 的 glob 模式需 v20.14+,本仓库当前 node 20.13.x 不支持,
// 故用此零依赖、跨平台 runner 显式枚举文件,保持 test:framework 行为一致。
// *.test.mjs: legacy-layer-migration 等纯 ESM 脚本测试 (Tasks 9-12 legacy 迁移管线).
import { readdirSync, statSync } from 'node:fs';
import { join } from 'node:path';
import { spawnSync } from 'node:child_process';
@@ -11,12 +12,12 @@ const files = [];
for (const entry of readdirSync(dir)) {
const p = join(dir, entry);
if (statSync(p).isDirectory()) walk(p);
else if (p.endsWith('.test.ts')) files.push(p);
else if (p.endsWith('.test.ts') || p.endsWith('.test.mjs')) files.push(p);
}
})(root);
if (files.length === 0) {
console.error(`[run-framework-tests] 未发现任何 *.test.ts(root=${root})`);
console.error(`[run-framework-tests] 未发现任何 *.test.{ts,mjs}(root=${root})`);
process.exit(1);
}
@@ -0,0 +1,60 @@
#!/usr/bin/env node
// 批量跑 legacy-layer → Cocos prefab CLI。
// 每条 target: <source xml> → <youle prefab> → <OUT_DIR/prefab>.prefab + .diff.
//
// 设计要点:
// - 全部输出到隔离 OUT_DIR (out/legacy-migration/), 不直接覆盖 YouleNexus 现有 prefab.
// - 单个 target 失败 (例如 ImgResID 未导入 sprite) 不阻塞后续 target, 日志记录后继续.
// - per "下游不兜底" 原则: CLI 本身必须 throw 让错误暴露; batch 仅负责捕获 + 汇总, 不做修补.
import { execSync } from 'node:child_process';
const ROOT = process.cwd(); // assume run from cocoscreator_projects/
const OUT_DIR = `${ROOT}/YouleNexus/out/legacy-migration`;
const SOURCE = `${ROOT}/../projects/Game_Surface_3/save`;
// 按 spec 已核实映射表 (11 个 prefab). Layer10_Protocol + Login_Layer + Layer619_BackOtherGame 三个 PoC 已存在,
// 但 batch 仍会重新生成它们 (idempotent — 覆盖 out/legacy-migration/*.prefab + .diff).
const targets = [
{ xml: 'Layer00002.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/views/Login_Layer.prefab', name: 'Login_Layer', note: 'PoC 3 (Layer00002)' },
{ xml: 'Layer00017.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/views/PlayerInfoView.prefab', name: 'MenuPlayerInfo_Layer', note: '拍板 A (Layer00017)' },
{ xml: 'Layer00029.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Group106_PhoneVerify.prefab', name: 'phoneInfo' },
{ xml: 'Layer00010.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab', name: 'Protol_Layer', note: 'PoC 2 (Layer00010)' },
{ xml: 'Layer00609.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer609_Setting.prefab', name: 'Setting_Layer' },
{ xml: 'Layer00612.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer612_Tips.prefab', name: 'Tips_Layer' },
{ xml: 'Layer00613.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer613_RoomCardUpdate.prefab', name: 'updateRoomCard_Layer' },
{ xml: 'Layer00614.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer614_Loading.prefab', name: 'Loading_Layer' },
{ xml: 'Layer00615.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer615_Reconnect.prefab', name: 'Reconnect_Layer' },
{ xml: 'Layer00616.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer616_Kick.prefab', name: 'Kick_Layer' },
{ xml: 'Layer00008.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer617_Notice.prefab', name: 'Notice_Layer', note: '拍板 B (Layer00008)' },
{ xml: 'Layer00619.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer619_BackOtherGame.prefab', name: 'BackHall_Layer', note: 'PoC 1 (Layer00619)' },
{ xml: 'Layer00620.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer620_Record.prefab', name: 'recordLayer' },
];
const results = { ok: [], failed: [] };
console.log(`Generating ${targets.length} prefabs to ${OUT_DIR}\n`);
for (const t of targets) {
console.log(`\n=== Processing ${t.name} (${t.xml}) ===`);
try {
execSync(
`node scripts/legacy-layer-to-cocos-prefab-cli.mjs "${SOURCE}/${t.xml}" "${ROOT}/${t.prefab}" "${OUT_DIR}"`,
{ stdio: 'inherit' }
);
results.ok.push(t.name);
} catch (e) {
console.error(` ⚠️ FAILED: ${t.name}: ${(e.message || String(e)).slice(0, 200)}`);
results.failed.push({ name: t.name, xml: t.xml, error: (e.message || String(e)).slice(0, 200) });
// Continue with next target — partial success acceptable per "不静默兜底" + batch resilience
}
}
console.log('\n=== Batch complete ===');
console.log(`Output dir: ${OUT_DIR}`);
console.log(`OK: ${results.ok.length} | FAILED: ${results.failed.length}`);
if (results.failed.length > 0) {
console.log('\nFailed targets:');
for (const f of results.failed) {
console.log(` - ${f.name} (${f.xml}): ${f.error}`);
}
}
console.log('\nNext step: human reviews each .diff and decides whether to overwrite YouleNexus original prefabs.');