场景层级面板实证(MainMenu.scene):
- PlayerInfoView_Runtime (TS) 挂脚本 + 3 个子节点 + 3 个 Label 引用
- SceneStart_Node (TS) 挂脚本 + playerInfoView 引用到 prefab 实例
- Game View 渲染 (nickname) (bean) Label
结构层面 100% 正确。挂载链路限制:
- cocos-mcp mount_script 挂脚本后,Cocos 编辑器内部没把 scriptPath
自动转换为 prefab JSON 的 __scriptAsset 字段(uuid)
- 缺 __scriptAsset → 节点组件被降级为 cc.MissingScript
- MissingScript 时 SceneStart.getComponent('PlayerInfoView') 返回 null
→ bindTo 静默跳过,响应式链路无法端到端跑通
修复路径(需用户手动):
1. 在 Cocos 编辑器 UI 内打开 PlayerInfoView.prefab
2. Inspector 拖 PlayerInfoView.ts 到 PlayerInfoView 根节点
3. 保存 prefab → Cocos 自动写入 __scriptAsset
MCP 路径暂时无法跳过这步(无 setter 直接改 prefab JSON)。
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1141 lines
20 KiB
Plaintext
1141 lines
20 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.SceneAsset",
|
|
"_name": "MainMenu",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_native": "",
|
|
"scene": {
|
|
"__id__": 1
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.Scene",
|
|
"_name": "MainMenu",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": null,
|
|
"_children": [
|
|
{
|
|
"__id__": 2
|
|
},
|
|
{
|
|
"__id__": 4
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [],
|
|
"_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
|
|
},
|
|
"autoReleaseAssets": false,
|
|
"_globals": {
|
|
"__id__": 32
|
|
},
|
|
"_id": "01dad306-a70d-4860-91b4-043edbbafbb2"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Camera",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 3
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 800,
|
|
"y": 360,
|
|
"z": 1000
|
|
},
|
|
"_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": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": "7djcrlBGZEcITPf3KQGAWx"
|
|
},
|
|
{
|
|
"__type__": "cc.Camera",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_projection": 0,
|
|
"_priority": 0,
|
|
"_fov": 45,
|
|
"_fovAxis": 0,
|
|
"_orthoHeight": 360,
|
|
"_near": 1,
|
|
"_far": 2000,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 51,
|
|
"g": 51,
|
|
"b": 51,
|
|
"a": 255
|
|
},
|
|
"_depth": 1,
|
|
"_stencil": 0,
|
|
"_clearFlags": 7,
|
|
"_rect": {
|
|
"__type__": "cc.Rect",
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 1,
|
|
"height": 1
|
|
},
|
|
"_aperture": 19,
|
|
"_shutter": 7,
|
|
"_iso": 0,
|
|
"_screenScale": 1,
|
|
"_visibility": 1117782015,
|
|
"_targetTexture": null,
|
|
"_postProcess": null,
|
|
"_usePostProcess": false,
|
|
"_cameraType": -1,
|
|
"_trackingType": 0,
|
|
"_id": "07GGke2thALIz/TA33yXTc"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Canvas",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [
|
|
{
|
|
"__id__": 5
|
|
},
|
|
{
|
|
"__id__": 16
|
|
},
|
|
{
|
|
"__id__": 8
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 28
|
|
},
|
|
{
|
|
"__id__": 29
|
|
},
|
|
{
|
|
"__id__": 30
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 800,
|
|
"y": 360,
|
|
"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": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": "d0OZuAFOdPN4yNmWUNfH4/"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "SceneStart_Node",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 4
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 6
|
|
},
|
|
{
|
|
"__id__": 7
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_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": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": "059BX4TmBCbJGuOMADN04x"
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 5
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 100,
|
|
"height": 100
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": "ad6zw9H8xCgYtFX6YPi2hc"
|
|
},
|
|
{
|
|
"__type__": "c9dc3Tde6BMC7Mls6KOasWP",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 5
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"playerInfoView": {
|
|
"__id__": 8
|
|
},
|
|
"_id": "71sC3fRo9AlJB8e0yO9EEd"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 4
|
|
},
|
|
"_prefab": {
|
|
"__id__": 9
|
|
},
|
|
"__editorExtras__": {}
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 8
|
|
},
|
|
"asset": {
|
|
"__uuid__": "df6a5177-07a1-4bff-8b4b-eb993a81ca2f",
|
|
"__expectedType__": "cc.Prefab"
|
|
},
|
|
"fileId": "3e7k7ZuV1KiLoTFpzN//Mf",
|
|
"instance": {
|
|
"__id__": 10
|
|
},
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInstance",
|
|
"fileId": "f5/b8m9ANCR5BxK8d7F5oi",
|
|
"prefabRootNode": null,
|
|
"mountedChildren": [],
|
|
"mountedComponents": [],
|
|
"propertyOverrides": [
|
|
{
|
|
"__id__": 11
|
|
},
|
|
{
|
|
"__id__": 13
|
|
},
|
|
{
|
|
"__id__": 14
|
|
},
|
|
{
|
|
"__id__": 15
|
|
}
|
|
],
|
|
"removedComponents": []
|
|
},
|
|
{
|
|
"__type__": "CCPropertyOverrideInfo",
|
|
"targetInfo": {
|
|
"__id__": 12
|
|
},
|
|
"propertyPath": [
|
|
"_name"
|
|
],
|
|
"value": "PlayerInfoView"
|
|
},
|
|
{
|
|
"__type__": "cc.TargetInfo",
|
|
"localID": [
|
|
"3e7k7ZuV1KiLoTFpzN//Mf"
|
|
]
|
|
},
|
|
{
|
|
"__type__": "CCPropertyOverrideInfo",
|
|
"targetInfo": {
|
|
"__id__": 12
|
|
},
|
|
"propertyPath": [
|
|
"_lpos"
|
|
],
|
|
"value": {
|
|
"__type__": "cc.Vec3",
|
|
"x": "0",
|
|
"y": "-100",
|
|
"z": 0
|
|
}
|
|
},
|
|
{
|
|
"__type__": "CCPropertyOverrideInfo",
|
|
"targetInfo": {
|
|
"__id__": 12
|
|
},
|
|
"propertyPath": [
|
|
"_lrot"
|
|
],
|
|
"value": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
}
|
|
},
|
|
{
|
|
"__type__": "CCPropertyOverrideInfo",
|
|
"targetInfo": {
|
|
"__id__": 12
|
|
},
|
|
"propertyPath": [
|
|
"_euler"
|
|
],
|
|
"value": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "PlayerInfoView_Runtime",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 4
|
|
},
|
|
"_children": [
|
|
{
|
|
"__id__": 17
|
|
},
|
|
{
|
|
"__id__": 20
|
|
},
|
|
{
|
|
"__id__": 23
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 26
|
|
},
|
|
{
|
|
"__id__": 27
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": "0",
|
|
"y": "-100",
|
|
"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": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": "3e7k7ZuV1KiLoTFpzN//Mf"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "NicknameLabel",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 16
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 18
|
|
},
|
|
{
|
|
"__id__": 19
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": "0",
|
|
"y": "50",
|
|
"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": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": "bdtAP7JtVCEbM8ECGGK/p0"
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 17
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 197.83203125,
|
|
"height": 50.4
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": "21ZxKm8kpAsYabE7mk/s86"
|
|
},
|
|
{
|
|
"__type__": "cc.Label",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 17
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_customMaterial": null,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_string": "(nickname)",
|
|
"_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": "b8DFKSacJGTqAJTVt5+8WV"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "BeanLabel",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 16
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 21
|
|
},
|
|
{
|
|
"__id__": 22
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_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": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": "c1yfHrAqNGVrPzKdCHKo1J"
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 20
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 115.625,
|
|
"height": 50.4
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": "52LN8Dt6JBK5jw1UTBRFrl"
|
|
},
|
|
{
|
|
"__type__": "cc.Label",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 20
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_customMaterial": null,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_string": "(bean)",
|
|
"_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": "00D2MQux9Iur+uAnyXGAdR"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "AvatarSprite",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 16
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 24
|
|
},
|
|
{
|
|
"__id__": 25
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": "-200",
|
|
"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": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": "c6dZktHNJMNoztQHZvHf2F"
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 23
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 40,
|
|
"height": 36
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": "0",
|
|
"y": "0.5"
|
|
},
|
|
"_id": "24wl8zkbNFIbYH4BZK0ahn"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 23
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_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": "f2loXRS0JCkKw3BVnDJhe1"
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 16
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 100,
|
|
"height": 100
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": "24z5w8fUZI0bbyh+yI1od1"
|
|
},
|
|
{
|
|
"__type__": "b9890v4yONA+a/v2YVJMDO5",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 16
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"nicknameLabel": {
|
|
"__id__": 17
|
|
},
|
|
"beanLabel": {
|
|
"__id__": 20
|
|
},
|
|
"avatarSprite": {
|
|
"__id__": 23
|
|
},
|
|
"_id": "789o7db/RIMbj3S6vsf0Ro"
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 4
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 1600,
|
|
"height": 720
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": "6274b4Z/9IXYDp9Clna4RX"
|
|
},
|
|
{
|
|
"__type__": "cc.Canvas",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 4
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_cameraComponent": null,
|
|
"_alignCanvasWithScreen": true,
|
|
"_id": "b1/h1c5fhHpZ4e5sqyQErQ"
|
|
},
|
|
{
|
|
"__type__": "cc.Widget",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 4
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_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": 1600,
|
|
"_originalHeight": 720,
|
|
"_alignMode": 1,
|
|
"_lockFlags": 0,
|
|
"_id": "ddhGTSZv1A16Z7oa16BAcY"
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": null,
|
|
"asset": null,
|
|
"fileId": "01dad306-a70d-4860-91b4-043edbbafbb2",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": [
|
|
{
|
|
"__id__": 8
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"__type__": "cc.SceneGlobals",
|
|
"ambient": {
|
|
"__id__": 33
|
|
},
|
|
"shadows": {
|
|
"__id__": 34
|
|
},
|
|
"_skybox": {
|
|
"__id__": 35
|
|
},
|
|
"fog": {
|
|
"__id__": 36
|
|
},
|
|
"octree": {
|
|
"__id__": 37
|
|
},
|
|
"skin": {
|
|
"__id__": 38
|
|
},
|
|
"lightProbeInfo": {
|
|
"__id__": 39
|
|
},
|
|
"postSettings": {
|
|
"__id__": 40
|
|
},
|
|
"bakedWithStationaryMainLight": false,
|
|
"bakedWithHighpLightmap": false
|
|
},
|
|
{
|
|
"__type__": "cc.AmbientInfo",
|
|
"_skyColorHDR": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0.2,
|
|
"y": 0.5,
|
|
"z": 0.8,
|
|
"w": 0.520833125
|
|
},
|
|
"_skyColor": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0.2,
|
|
"y": 0.5,
|
|
"z": 0.8,
|
|
"w": 0.520833125
|
|
},
|
|
"_skyIllumHDR": 20000,
|
|
"_skyIllum": 20000,
|
|
"_groundAlbedoHDR": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0.2,
|
|
"y": 0.2,
|
|
"z": 0.2,
|
|
"w": 1
|
|
},
|
|
"_groundAlbedo": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0.2,
|
|
"y": 0.2,
|
|
"z": 0.2,
|
|
"w": 1
|
|
},
|
|
"_skyColorLDR": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0.2,
|
|
"y": 0.5,
|
|
"z": 0.8,
|
|
"w": 1
|
|
},
|
|
"_skyIllumLDR": 20000,
|
|
"_groundAlbedoLDR": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0.2,
|
|
"y": 0.2,
|
|
"z": 0.2,
|
|
"w": 1
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.ShadowsInfo",
|
|
"_enabled": false,
|
|
"_type": 0,
|
|
"_normal": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 1,
|
|
"z": 0
|
|
},
|
|
"_distance": 0,
|
|
"_planeBias": 1,
|
|
"_shadowColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 76
|
|
},
|
|
"_maxReceived": 4,
|
|
"_size": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 1024,
|
|
"y": 1024
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.SkyboxInfo",
|
|
"_envLightingType": 0,
|
|
"_envmapHDR": null,
|
|
"_envmap": null,
|
|
"_envmapLDR": null,
|
|
"_diffuseMapHDR": null,
|
|
"_diffuseMapLDR": null,
|
|
"_enabled": false,
|
|
"_useHDR": true,
|
|
"_editableMaterial": null,
|
|
"_reflectionHDR": null,
|
|
"_reflectionLDR": null,
|
|
"_rotationAngle": 0
|
|
},
|
|
{
|
|
"__type__": "cc.FogInfo",
|
|
"_type": 0,
|
|
"_fogColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 200,
|
|
"g": 200,
|
|
"b": 200,
|
|
"a": 255
|
|
},
|
|
"_enabled": false,
|
|
"_fogDensity": 0.3,
|
|
"_fogStart": 0.5,
|
|
"_fogEnd": 300,
|
|
"_fogAtten": 5,
|
|
"_fogTop": 1.5,
|
|
"_fogRange": 1.2,
|
|
"_accurate": false
|
|
},
|
|
{
|
|
"__type__": "cc.OctreeInfo",
|
|
"_enabled": false,
|
|
"_minPos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": -1024,
|
|
"y": -1024,
|
|
"z": -1024
|
|
},
|
|
"_maxPos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1024,
|
|
"y": 1024,
|
|
"z": 1024
|
|
},
|
|
"_depth": 8
|
|
},
|
|
{
|
|
"__type__": "cc.SkinInfo",
|
|
"_enabled": true,
|
|
"_blurRadius": 0.01,
|
|
"_sssIntensity": 3
|
|
},
|
|
{
|
|
"__type__": "cc.LightProbeInfo",
|
|
"_giScale": 1,
|
|
"_giSamples": 1024,
|
|
"_bounces": 2,
|
|
"_reduceRinging": 0,
|
|
"_showProbe": true,
|
|
"_showWireframe": true,
|
|
"_showConvex": false,
|
|
"_data": null,
|
|
"_lightProbeSphereVolume": 1
|
|
},
|
|
{
|
|
"__type__": "cc.PostSettingsInfo",
|
|
"_toneMappingType": 0
|
|
}
|
|
] |