mirror of
https://github.com/szrpf/SceneAdapterDemo
synced 2024-12-25 11:18:57 +00:00
570 lines
9.8 KiB
Plaintext
570 lines
9.8 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.SceneAsset",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"scene": {
|
|
"__id__": 1
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.Scene",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [
|
|
{
|
|
"__id__": 2
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 0,
|
|
"height": 0
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_trs": {
|
|
"__type__": "TypedArray",
|
|
"ctor": "Float64Array",
|
|
"array": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
1,
|
|
1
|
|
]
|
|
},
|
|
"_is3DNode": true,
|
|
"_groupIndex": 0,
|
|
"groupIndex": 0,
|
|
"autoReleaseAssets": false,
|
|
"_id": "2d2f792f-a40c-49bb-a189-ed176a246e49"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "SceneGame",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [
|
|
{
|
|
"__id__": 3
|
|
},
|
|
{
|
|
"__id__": 5
|
|
},
|
|
{
|
|
"__id__": 7
|
|
},
|
|
{
|
|
"__id__": 9
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 12
|
|
},
|
|
{
|
|
"__id__": 13
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 252,
|
|
"g": 252,
|
|
"b": 252,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 1080,
|
|
"height": 1920
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_trs": {
|
|
"__type__": "TypedArray",
|
|
"ctor": "Float64Array",
|
|
"array": [
|
|
540,
|
|
960,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
1,
|
|
0.31666666666666665
|
|
]
|
|
},
|
|
"_eulerAngles": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_is3DNode": false,
|
|
"_groupIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "a286bbGknJLZpRpxROV6M94"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Camera",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 4
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 0,
|
|
"height": 0
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_trs": {
|
|
"__type__": "TypedArray",
|
|
"ctor": "Float64Array",
|
|
"array": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
1,
|
|
1
|
|
]
|
|
},
|
|
"_eulerAngles": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_is3DNode": false,
|
|
"_groupIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "53iX2JQcJMI5isiQRpNr+n"
|
|
},
|
|
{
|
|
"__type__": "cc.Camera",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 3
|
|
},
|
|
"_enabled": true,
|
|
"_cullingMask": 4294967295,
|
|
"_clearFlags": 7,
|
|
"_backgroundColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"_depth": -1,
|
|
"_zoomRatio": 1,
|
|
"_targetTexture": null,
|
|
"_fov": 60,
|
|
"_orthoSize": 10,
|
|
"_nearClip": 1,
|
|
"_farClip": 4096,
|
|
"_ortho": true,
|
|
"_rect": {
|
|
"__type__": "cc.Rect",
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 1,
|
|
"height": 1
|
|
},
|
|
"_renderStages": 1,
|
|
"_alignWithScreen": true,
|
|
"_id": "daBoWXrYhIuKI4/G81Bnwk"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Background",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 6
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 1080,
|
|
"height": 1920
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_trs": {
|
|
"__type__": "TypedArray",
|
|
"ctor": "Float64Array",
|
|
"array": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
1,
|
|
1
|
|
]
|
|
},
|
|
"_eulerAngles": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_is3DNode": false,
|
|
"_groupIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "e2e0crkOLxGrpMxpbC4iQg1"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 5
|
|
},
|
|
"_enabled": true,
|
|
"_materials": [
|
|
{
|
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
|
}
|
|
],
|
|
"_srcBlendFactor": 770,
|
|
"_dstBlendFactor": 771,
|
|
"_spriteFrame": {
|
|
"__uuid__": "7ec243d4-dc13-47df-b58f-be8e23d75574"
|
|
},
|
|
"_type": 1,
|
|
"_sizeMode": 0,
|
|
"_fillType": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_atlas": null,
|
|
"_id": "d9tJr+3jpGA66qiPl1XnSz"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Ball",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 8
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 242,
|
|
"height": 242
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_trs": {
|
|
"__type__": "TypedArray",
|
|
"ctor": "Float64Array",
|
|
"array": [
|
|
319,
|
|
-739,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
1,
|
|
1
|
|
]
|
|
},
|
|
"_eulerAngles": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_is3DNode": false,
|
|
"_groupIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "6b6WJJMtdHrbPSPH+H2oJJ"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 7
|
|
},
|
|
"_enabled": true,
|
|
"_materials": [
|
|
{
|
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
|
}
|
|
],
|
|
"_srcBlendFactor": 770,
|
|
"_dstBlendFactor": 771,
|
|
"_spriteFrame": {
|
|
"__uuid__": "b30cbb07-9a03-4991-a10b-62e3e3310750"
|
|
},
|
|
"_type": 0,
|
|
"_sizeMode": 1,
|
|
"_fillType": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_atlas": null,
|
|
"_id": "8fWn4KeXROfJvlWO4E6nB4"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Title",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 10
|
|
},
|
|
{
|
|
"__id__": 11
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 868.27,
|
|
"height": 188.8
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_trs": {
|
|
"__type__": "TypedArray",
|
|
"ctor": "Float64Array",
|
|
"array": [
|
|
0,
|
|
785.6,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
1,
|
|
1
|
|
]
|
|
},
|
|
"_eulerAngles": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_is3DNode": false,
|
|
"_groupIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "31f1bH7V69Ajr1iXhluMpTB"
|
|
},
|
|
{
|
|
"__type__": "cc.Label",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 9
|
|
},
|
|
"_enabled": true,
|
|
"_materials": [
|
|
{
|
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
|
}
|
|
],
|
|
"_srcBlendFactor": 770,
|
|
"_dstBlendFactor": 771,
|
|
"_string": "给场景根节点挂上SceneAdapter\n就可以自动适配屏幕尺寸",
|
|
"_N$string": "给场景根节点挂上SceneAdapter\n就可以自动适配屏幕尺寸",
|
|
"_fontSize": 60,
|
|
"_lineHeight": 80,
|
|
"_enableWrapText": true,
|
|
"_N$file": null,
|
|
"_isSystemFontUsed": true,
|
|
"_spacingX": 0,
|
|
"_batchAsBitmap": false,
|
|
"_styleFlags": 0,
|
|
"_underlineHeight": 0,
|
|
"_N$horizontalAlign": 0,
|
|
"_N$verticalAlign": 1,
|
|
"_N$fontFamily": "Arial",
|
|
"_N$overflow": 0,
|
|
"_N$cacheMode": 0,
|
|
"_id": "66thcHuG5Eir+Qyt6fdF15"
|
|
},
|
|
{
|
|
"__type__": "cc.LabelOutline",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 9
|
|
},
|
|
"_enabled": true,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"_width": 4,
|
|
"_id": "a8HiFt9pBAEK25pfIPlINu"
|
|
},
|
|
{
|
|
"__type__": "cc.Canvas",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_designResolution": {
|
|
"__type__": "cc.Size",
|
|
"width": 1080,
|
|
"height": 1920
|
|
},
|
|
"_fitWidth": false,
|
|
"_fitHeight": false,
|
|
"_id": "6d1ebIvmZJPqKflif+HTsU"
|
|
},
|
|
{
|
|
"__type__": "e1b90/rohdEk4SdmmEZANaD",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_id": "b6/k9iZ/BOq7igiEs0QR6w"
|
|
}
|
|
] |