fix(ui): 修复 7 个 prefab 的 SpriteFrame 引用

根本原因:cocos_component.set_property(spriteFrame, 'atlas-common/00010.png')
写入了 ImageAsset 路径形式,导致 importer 报 'Cannot read _name'。
正确做法:用 SpriteFrame 的真实 UUID (含 @f9941 sub-asset 后缀)。

修复前: __uuid__ = 'atlas-common/00010.png@f9941' (路径,importer 拒绝)
修复后: __uuid__ = 'dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941' (真UUID)

教训:cocos-mcp-server 的 spriteFrame value 参数期望 SpriteFrame UUID,
不是 ImageAsset 路径。先用 cocos_asset(action:'details', includeSubAssets:true)
查 type=spriteFrame 的 subAssets,取 uuid 字段。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-31 20:07:15 +08:00
co-authored by Claude Opus 5
parent 4142f590ee
commit 2ea91e82ab
7 changed files with 475 additions and 379 deletions
@@ -1,9 +0,0 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "9323fb34-7018-462b-b4bb-96b60cc3e1b3",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -22,10 +22,10 @@
"__id__": 2
},
{
"__id__": 3
"__id__": 8
},
{
"__id__": 4
"__id__": 14
}
],
"_active": true,
@@ -50,7 +50,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -79,15 +80,15 @@
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -99,105 +100,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
},
"_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": "Title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
},
{
"__id__": 12
}
],
"_prefab": {
"__id__": 14
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -280,
"y": 20,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
},
"_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": "Subtitle",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
},
{
"__id__": 17
}
],
"_prefab": {
"__id__": 19
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -280,
"y": -15,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -225,7 +129,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 6
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
@@ -253,11 +157,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_spriteFrame": {
"__uuid__": "atlas-common/00010.png@f9941",
"__expectedType__": "cc.SpriteFrame"
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -269,6 +169,10 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
@@ -301,17 +205,67 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "Title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 11
}
],
"_prefab": {
"__id__": 13
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -280,
"y": 20,
"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.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 11
"__id__": 10
},
"_contentSize": {
"__type__": "cc.Size",
@@ -335,11 +289,21 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 13
"__id__": 12
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "Title",
"_horizontalAlign": 1,
@@ -358,6 +322,29 @@
"_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": ""
},
{
@@ -377,13 +364,63 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "Subtitle",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
},
{
"__id__": 17
}
],
"_prefab": {
"__id__": 19
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -280,
"y": -15,
"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.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
"__id__": 14
},
"_enabled": true,
"__prefab": {
@@ -411,12 +448,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
"__id__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 18
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "Subtitle",
"_horizontalAlign": 1,
"_verticalAlign": 1,
@@ -434,6 +481,29 @@
"_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": ""
},
{
@@ -493,6 +563,7 @@
"__prefab": {
"__id__": 23
},
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
@@ -532,7 +603,6 @@
"_target": {
"__id__": 1
},
"_clickEvents": [],
"_id": ""
},
{
@@ -549,7 +619,6 @@
},
"fileId": "3cg1b1/RZMb5uCdnY0ApXz",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
"targetOverrides": null
}
]
@@ -39,6 +39,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -200,
"z": 0
},
@@ -46,7 +47,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -95,7 +97,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -153,6 +156,16 @@
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "Primary Button",
"_horizontalAlign": 1,
"_verticalAlign": 1,
@@ -170,6 +183,29 @@
"_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": ""
},
{
@@ -229,10 +265,6 @@
"__prefab": {
"__id__": 11
},
"_spriteFrame": {
"__uuid__": "atlas-common/00010.png@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
@@ -243,6 +275,10 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
@@ -274,6 +310,7 @@
"__prefab": {
"__id__": 13
},
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
@@ -313,7 +350,6 @@
"_target": {
"__id__": 1
},
"_clickEvents": [],
"_id": ""
},
{
@@ -330,7 +366,6 @@
},
"fileId": "b6Dreky2RHNKQ++GV6r2pN",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
"targetOverrides": null
}
]
@@ -43,7 +43,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -101,10 +102,6 @@
"__prefab": {
"__id__": 5
},
"_spriteFrame": {
"__uuid__": "atlas-common/00011.png@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
@@ -115,6 +112,10 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
@@ -146,6 +147,7 @@
"__prefab": {
"__id__": 7
},
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
@@ -185,7 +187,6 @@
"_target": {
"__id__": 1
},
"_clickEvents": [],
"_id": ""
},
{
@@ -202,7 +203,6 @@
},
"fileId": "24NrUJVs5OvamwXWAdHPh9",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
"targetOverrides": null
}
]
@@ -49,7 +49,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -107,10 +108,6 @@
"__prefab": {
"__id__": 5
},
"_spriteFrame": {
"__uuid__": "atlas-common/00010.png@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
@@ -121,6 +118,10 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
@@ -152,7 +153,6 @@
"__prefab": {
"__id__": 7
},
"opacity": 150,
"_opacity": 150,
"_id": ""
},
@@ -190,36 +190,8 @@
"__prefab": {
"__id__": 11
},
"target": null,
"isAlignTop": false,
"isAlignBottom": false,
"isAlignLeft": false,
"isAlignRight": false,
"isAlignVerticalCenter": false,
"isAlignHorizontalCenter": false,
"isStretchWidth": false,
"isStretchHeight": false,
"top": 0,
"editorTop": 0,
"bottom": 0,
"editorBottom": 0,
"left": 0,
"editorLeft": 0,
"right": 0,
"editorRight": 0,
"horizontalCenter": 0,
"editorHorizontalCenter": 0,
"verticalCenter": 0,
"editorVerticalCenter": 0,
"isAbsoluteTop": true,
"isAbsoluteBottom": true,
"isAbsoluteLeft": true,
"isAbsoluteRight": true,
"isAbsoluteHorizontalCenter": true,
"isAbsoluteVerticalCenter": true,
"alignMode": 2,
"alignFlags": 0,
"_alignFlags": 0,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
@@ -252,7 +224,6 @@
},
"fileId": "b1TwUFl0VMXbaMtR3Lyle+",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
"targetOverrides": null
}
]
@@ -22,7 +22,7 @@
"__id__": 2
},
{
"__id__": 3
"__id__": 8
}
],
"_active": true,
@@ -39,6 +39,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -150,
"z": 0
},
@@ -46,7 +47,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -76,14 +78,14 @@
"_active": true,
"_components": [
{
"__id__": 4
"__id__": 3
},
{
"__id__": 6
"__id__": 5
}
],
"_prefab": {
"__id__": 8
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -95,56 +97,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
},
"_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": "Bar",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 11
}
],
"_prefab": {
"__id__": 13
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -172,7 +126,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 5
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
@@ -200,11 +154,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 7
},
"_spriteFrame": {
"__uuid__": "atlas-common/00010.png@f9941",
"__expectedType__": "cc.SpriteFrame"
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -216,6 +166,10 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
@@ -248,13 +202,63 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "Bar",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 11
}
],
"_prefab": {
"__id__": 13
},
"_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.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
"__id__": 8
},
"_enabled": true,
"__prefab": {
@@ -282,16 +286,12 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_spriteFrame": {
"__uuid__": "atlas-common/00011.png@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
@@ -302,6 +302,10 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
@@ -374,15 +378,8 @@
"__prefab": {
"__id__": 17
},
"barSprite": {
"uuid": "db90wEHfdJnaq+ULHU4boG"
},
"mode": 0,
"totalLength": 1,
"progress": 0.1,
"reverse": false,
"_barSprite": {
"__id__": 3
"__id__": 8
},
"_mode": 0,
"_totalLength": 1,
@@ -404,7 +401,6 @@
},
"fileId": "edYB9M9DZGyJNP8/xAZz74",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
"targetOverrides": null
}
]
@@ -22,7 +22,7 @@
"__id__": 2
},
{
"__id__": 3
"__id__": 10
}
],
"_active": true,
@@ -44,7 +44,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -74,17 +75,17 @@
"_active": true,
"_components": [
{
"__id__": 4
"__id__": 3
},
{
"__id__": 6
"__id__": 5
},
{
"__id__": 8
"__id__": 7
}
],
"_prefab": {
"__id__": 10
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -96,7 +97,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -114,6 +116,111 @@
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 500,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "kjEPPfIw/RvFdZdnmGGHX2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_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__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_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": "+M5PJ+s9Q5g/SfvYY2kGuj"
},
{
"__type__": "cc.UIOpacity",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_opacity": 200,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "RvlGmNAWOma7Hzk+Ke5nqd"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "84BLvbV/tIfbIco0QUAOpc",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "Msg",
@@ -145,7 +252,8 @@
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
@@ -169,113 +277,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 500,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "kjEPPfIw/RvFdZdnmGGHX2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 7
},
"_spriteFrame": {
"__uuid__": "atlas-common/00010.png@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_type": 1,
"_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": "+M5PJ+s9Q5g/SfvYY2kGuj"
},
{
"__type__": "cc.UIOpacity",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"opacity": 200,
"_opacity": 200,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "RvlGmNAWOma7Hzk+Ke5nqd"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "84BLvbV/tIfbIco0QUAOpc",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
"__id__": 10
},
"_enabled": true,
"__prefab": {
@@ -303,12 +305,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "Toast message",
"_horizontalAlign": 1,
"_verticalAlign": 1,
@@ -326,6 +338,29 @@
"_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": ""
},
{
@@ -383,7 +418,6 @@
},
"fileId": "c7J9BZSzRFcafKkmNaDRL5",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
"targetOverrides": null
}
]