Commit 56ac973c authored by liujiangnan's avatar liujiangnan

feat: 原生录音测试

parent eca806c5
...@@ -295,22 +295,22 @@ ...@@ -295,22 +295,22 @@
"__id__": 20 "__id__": 20
}, },
{ {
"__id__": 110 "__id__": 124
}, },
{ {
"__id__": 145 "__id__": 159
}, },
{ {
"__id__": 149 "__id__": 163
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 151 "__id__": 165
}, },
{ {
"__id__": 152 "__id__": 166
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -994,13 +994,19 @@ ...@@ -994,13 +994,19 @@
"__id__": 102 "__id__": 102
}, },
{ {
"__id__": 104 "__id__": 109
},
{
"__id__": 116
},
{
"__id__": 118
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 109 "__id__": 123
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4277,8 +4283,8 @@ ...@@ -4277,8 +4283,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
433.571, -434.275,
81.418, -121.757,
0, 0,
0, 0,
0, 0,
...@@ -4448,8 +4454,8 @@ ...@@ -4448,8 +4454,8 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "OpenOSMO", "_string": "openOSMO",
"_N$string": "OpenOSMO", "_N$string": "openOSMO",
"_fontSize": 20, "_fontSize": 20,
"_lineHeight": 40, "_lineHeight": 40,
"_enableWrapText": false, "_enableWrapText": false,
...@@ -4609,7 +4615,7 @@ ...@@ -4609,7 +4615,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "BtnCloseOsmo", "_name": "BtnOpenRecord",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 20 "__id__": 20
...@@ -4648,8 +4654,8 @@ ...@@ -4648,8 +4654,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
435.629, -236.905,
-29.71, -124.147,
0, 0,
0, 0,
0, 0,
...@@ -4671,7 +4677,7 @@ ...@@ -4671,7 +4677,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "64Kn4xGW9PSJqoZ7ayrgZu" "_id": "bdOOoFtzVB8IGPbkfPvPJZ"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -4740,7 +4746,7 @@ ...@@ -4740,7 +4746,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a4atTysq5MZYXuAR7OPR0B" "_id": "f85dnHkeBNPo2zvjgTGJQD"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -4802,7 +4808,7 @@ ...@@ -4802,7 +4808,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "161xkiPIJCR6CwZaUCvBUI" "_id": "40BxskiThEta5SVX9W7fzi"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -4819,8 +4825,8 @@ ...@@ -4819,8 +4825,8 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "CloseOSMO", "_string": "开始录音",
"_N$string": "CloseOSMO", "_N$string": "开始录音",
"_fontSize": 20, "_fontSize": 20,
"_lineHeight": 40, "_lineHeight": 40,
"_enableWrapText": false, "_enableWrapText": false,
...@@ -4835,7 +4841,7 @@ ...@@ -4835,7 +4841,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 1, "_N$overflow": 1,
"_N$cacheMode": 1, "_N$cacheMode": 1,
"_id": "a8iSQfSjVF7qGfo3hxji7I" "_id": "c0otM+O2pNsZDftKMFaQWi"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -4867,7 +4873,7 @@ ...@@ -4867,7 +4873,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "69ZlIcwzJN5oHS5d/ktceg" "_id": "a0r0QtxR9DfqRuwwhSvBes"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
...@@ -4894,7 +4900,7 @@ ...@@ -4894,7 +4900,7 @@
"_isAbsVerticalCenter": true, "_isAbsVerticalCenter": true,
"_originalWidth": 100, "_originalWidth": 100,
"_originalHeight": 40, "_originalHeight": 40,
"_id": "58WyKrehVLu4r0ukhirvsu" "_id": "92grkVyPNCd7kXpDmL0T2J"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Button",
...@@ -4976,22 +4982,26 @@ ...@@ -4976,22 +4982,26 @@
"_N$target": { "_N$target": {
"__id__": 96 "__id__": 96
}, },
"_id": "27BjR9SvZAhY/aQBzv9ezW" "_id": "c0MYq9SS1N55yeAzCKqnoj"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "ProgressLabel", "_name": "BtnCloseOsmo",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 20 "__id__": 20
}, },
"_children": [], "_children": [
"_active": false,
"_components": [
{ {
"__id__": 103 "__id__": 103
} }
], ],
"_active": true,
"_components": [
{
"__id__": 108
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5003,8 +5013,8 @@ ...@@ -5003,8 +5013,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 88.95, "width": 150,
"height": 50.4 "height": 40
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5015,8 +5025,8 @@ ...@@ -5015,8 +5025,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
216, -438.022,
-168, -209.664,
0, 0,
0, 0,
0, 0,
...@@ -5038,60 +5048,27 @@ ...@@ -5038,60 +5048,27 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "4a4jPKza9MU70DqzTZHZ00" "_id": "64Kn4xGW9PSJqoZ7ayrgZu"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0 / 0",
"_N$string": "0 / 0",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ee0WrmR8hIQbOtXJqrMoQ5"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "loadingProgress", "_name": "Background",
"_objFlags": 0, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 20 "__id__": 102
}, },
"_children": [ "_children": [
{ {
"__id__": 105 "__id__": 104
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 107 "__id__": 106
}, },
{ {
"__id__": 108 "__id__": 107
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5105,8 +5082,8 @@ ...@@ -5105,8 +5082,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 300, "width": 150,
"height": 15 "height": 40
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5118,7 +5095,7 @@ ...@@ -5118,7 +5095,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-106.947, 0,
0, 0,
0, 0,
0, 0,
...@@ -5140,46 +5117,46 @@ ...@@ -5140,46 +5117,46 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "8eQzQS+G9EIqiUtunVxOmS" "_id": "a4atTysq5MZYXuAR7OPR0B"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bar", "_name": "Label",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 104 "__id__": 103
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 105
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 0,
"g": 255, "g": 0,
"b": 255, "b": 0,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 150,
"height": 15 "height": 40
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-150, 0,
0, 0,
0, 0,
0, 0,
...@@ -5202,14 +5179,14 @@ ...@@ -5202,14 +5179,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "4dGkzjGXpDp47yn3d4Qd9r" "_id": "161xkiPIJCR6CwZaUCvBUI"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Label",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 105 "__id__": 104
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5219,29 +5196,30 @@ ...@@ -5219,29 +5196,30 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_string": "closeOSMO",
"__uuid__": "67e68bc9-dad5-4ad9-a2d8-7e03d458e32f" "_N$string": "closeOSMO",
}, "_fontSize": 20,
"_type": 1, "_lineHeight": 40,
"_sizeMode": 0, "_enableWrapText": false,
"_fillType": 0, "_N$file": null,
"_fillCenter": { "_isSystemFontUsed": true,
"__type__": "cc.Vec2", "_spacingX": 0,
"x": 0, "_batchAsBitmap": false,
"y": 0 "_styleFlags": 0,
}, "_underlineHeight": 0,
"_fillStart": 0, "_N$horizontalAlign": 1,
"_fillRange": 0, "_N$verticalAlign": 1,
"_isTrimmedMode": true, "_N$fontFamily": "Arial",
"_atlas": null, "_N$overflow": 1,
"_id": "14PkFmJmtK/Yp9AZyo9gVv" "_N$cacheMode": 1,
"_id": "a8iSQfSjVF7qGfo3hxji7I"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 104 "__id__": 103
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5252,7 +5230,7 @@ ...@@ -5252,7 +5230,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "88e79fd5-96b4-4a77-a1f4-312467171014" "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
}, },
"_type": 1, "_type": 1,
"_sizeMode": 0, "_sizeMode": 0,
...@@ -5266,34 +5244,17 @@ ...@@ -5266,34 +5244,17 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "590gTWZEdMwIlULNUksORP" "_id": "69ZlIcwzJN5oHS5d/ktceg"
},
{
"__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
},
"_enabled": true,
"_N$totalLength": 300,
"_N$barSprite": {
"__id__": 106
},
"_N$mode": 0,
"_N$progress": 0,
"_N$reverse": false,
"_id": "bc3W7j5EVJRaoW20bSToA3"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 20 "__id__": 103
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 0,
"_target": null, "_target": null,
"_alignFlags": 45, "_alignFlags": 45,
"_left": 0, "_left": 0,
...@@ -5308,51 +5269,838 @@ ...@@ -5308,51 +5269,838 @@
"_isAbsBottom": true, "_isAbsBottom": true,
"_isAbsHorizontalCenter": true, "_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true, "_isAbsVerticalCenter": true,
"_originalWidth": 1280, "_originalWidth": 100,
"_originalHeight": 720, "_originalHeight": 40,
"_id": "c87OiuHMRI7YOL5SUoikbx" "_id": "58WyKrehVLu4r0ukhirvsu"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Button",
"_name": "ConsoleNode", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 7 "__id__": 102
}, },
"_children": [ "_enabled": true,
{ "_normalMaterial": null,
"__id__": 111 "_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 2,
"transition": 2,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
}, },
{ "_N$pressedColor": {
"__id__": 117 "__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
}, },
{ "pressedColor": {
"__id__": 120 "__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
}, },
{ "_N$hoverColor": {
"__id__": 128 "__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
{ "hoverColor": {
"__id__": 136
}
],
"_active": true,
"_components": [
{
"__id__": 144
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
"g": 255, "g": 255,
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_contentSize": { "_N$disabledColor": {
"__type__": "cc.Size", "__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 103
},
"_id": "27BjR9SvZAhY/aQBzv9ezW"
},
{
"__type__": "cc.Node",
"_name": "BtnCloseRecord",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [
{
"__id__": 110
}
],
"_active": true,
"_components": [
{
"__id__": 115
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-237.75,
-212.566,
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": "b0CNtDF31GIKeExEh6brpO"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 109
},
"_children": [
{
"__id__": 111
}
],
"_active": true,
"_components": [
{
"__id__": 113
},
{
"__id__": 114
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 40
},
"_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": "c4HbUAg4BJULnfqpeSGINO"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 112
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 40
},
"_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": "860zjp/XxPBYt0Bcm/Olmd"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "结束录音",
"_N$string": "结束录音",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "a8Hfl5kMtDbZEZe5iGp4lX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "71oMIls3BLoI4/4PLi2l6W"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": "a04/ixt/dKHr958wO0xIRg"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 2,
"transition": 2,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 110
},
"_id": "dcTVkN3bpECJDI8qtt0W1A"
},
{
"__type__": "cc.Node",
"_name": "ProgressLabel",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 117
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 88.95,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
216,
-168,
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": "4a4jPKza9MU70DqzTZHZ00"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 116
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0 / 0",
"_N$string": "0 / 0",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ee0WrmR8hIQbOtXJqrMoQ5"
},
{
"__type__": "cc.Node",
"_name": "loadingProgress",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [
{
"__id__": 119
}
],
"_active": false,
"_components": [
{
"__id__": 121
},
{
"__id__": 122
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 15
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-106.947,
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": "8eQzQS+G9EIqiUtunVxOmS"
},
{
"__type__": "cc.Node",
"_name": "bar",
"_objFlags": 512,
"_parent": {
"__id__": 118
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 120
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 15
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-150,
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": "4dGkzjGXpDp47yn3d4Qd9r"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "67e68bc9-dad5-4ad9-a2d8-7e03d458e32f"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "14PkFmJmtK/Yp9AZyo9gVv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "88e79fd5-96b4-4a77-a1f4-312467171014"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "590gTWZEdMwIlULNUksORP"
},
{
"__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"_N$totalLength": 300,
"_N$barSprite": {
"__id__": 120
},
"_N$mode": 0,
"_N$progress": 0,
"_N$reverse": false,
"_id": "bc3W7j5EVJRaoW20bSToA3"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "c87OiuHMRI7YOL5SUoikbx"
},
{
"__type__": "cc.Node",
"_name": "ConsoleNode",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 125
},
{
"__id__": 131
},
{
"__id__": 134
},
{
"__id__": 142
},
{
"__id__": 150
}
],
"_active": true,
"_components": [
{
"__id__": 158
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280, "width": 1280,
"height": 220 "height": 220
}, },
...@@ -5395,20 +6143,20 @@ ...@@ -5395,20 +6143,20 @@
"_name": "content", "_name": "content",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 124
}, },
"_children": [ "_children": [
{ {
"__id__": 112 "__id__": 126
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 115 "__id__": 129
}, },
{ {
"__id__": 116 "__id__": 130
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5464,16 +6212,16 @@ ...@@ -5464,16 +6212,16 @@
"_name": "label", "_name": "label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 111 "__id__": 125
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 113 "__id__": 127
}, },
{ {
"__id__": 114 "__id__": 128
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5529,7 +6277,7 @@ ...@@ -5529,7 +6277,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 112 "__id__": 126
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5562,7 +6310,7 @@ ...@@ -5562,7 +6310,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 112 "__id__": 126
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -5589,7 +6337,7 @@ ...@@ -5589,7 +6337,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 111 "__id__": 125
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -5621,7 +6369,7 @@ ...@@ -5621,7 +6369,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 111 "__id__": 125
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 2,
...@@ -5648,16 +6396,16 @@ ...@@ -5648,16 +6396,16 @@
"_name": "bg", "_name": "bg",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 124
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 118 "__id__": 132
}, },
{ {
"__id__": 119 "__id__": 133
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5713,7 +6461,7 @@ ...@@ -5713,7 +6461,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 117 "__id__": 131
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5745,7 +6493,7 @@ ...@@ -5745,7 +6493,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 117 "__id__": 131
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -5772,26 +6520,26 @@ ...@@ -5772,26 +6520,26 @@
"_name": "Console", "_name": "Console",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 124
}, },
"_children": [ "_children": [
{ {
"__id__": 121 "__id__": 135
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 124 "__id__": 138
}, },
{ {
"__id__": 125 "__id__": 139
}, },
{ {
"__id__": 126 "__id__": 140
}, },
{ {
"__id__": 127 "__id__": 141
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5847,16 +6595,16 @@ ...@@ -5847,16 +6595,16 @@
"_name": "content", "_name": "content",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 120 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 122 "__id__": 136
}, },
{ {
"__id__": 123 "__id__": 137
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5912,7 +6660,7 @@ ...@@ -5912,7 +6660,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 121 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -5944,7 +6692,7 @@ ...@@ -5944,7 +6692,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 121 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -5971,7 +6719,7 @@ ...@@ -5971,7 +6719,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 120 "__id__": 134
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 2,
...@@ -5998,7 +6746,7 @@ ...@@ -5998,7 +6746,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 120 "__id__": 134
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6018,7 +6766,7 @@ ...@@ -6018,7 +6766,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 120 "__id__": 134
}, },
"_enabled": true, "_enabled": true,
"horizontal": false, "horizontal": false,
...@@ -6030,10 +6778,10 @@ ...@@ -6030,10 +6778,10 @@
"scrollEvents": [], "scrollEvents": [],
"cancelInnerEvents": true, "cancelInnerEvents": true,
"_N$content": { "_N$content": {
"__id__": 121 "__id__": 135
}, },
"content": { "content": {
"__id__": 121 "__id__": 135
}, },
"_id": "43wBGhGBpFP7OYyNM+j0Ho" "_id": "43wBGhGBpFP7OYyNM+j0Ho"
}, },
...@@ -6042,7 +6790,7 @@ ...@@ -6042,7 +6790,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 120 "__id__": 134
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -6074,20 +6822,20 @@ ...@@ -6074,20 +6822,20 @@
"_name": "BtnClose", "_name": "BtnClose",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 124
}, },
"_children": [ "_children": [
{ {
"__id__": 129 "__id__": 143
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 134 "__id__": 148
}, },
{ {
"__id__": 135 "__id__": 149
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6143,20 +6891,20 @@ ...@@ -6143,20 +6891,20 @@
"_name": "Background", "_name": "Background",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 128 "__id__": 142
}, },
"_children": [ "_children": [
{ {
"__id__": 130 "__id__": 144
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 132 "__id__": 146
}, },
{ {
"__id__": 133 "__id__": 147
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6212,13 +6960,13 @@ ...@@ -6212,13 +6960,13 @@
"_name": "Label", "_name": "Label",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 129 "__id__": 143
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 131 "__id__": 145
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6274,7 +7022,7 @@ ...@@ -6274,7 +7022,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 130 "__id__": 144
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6307,7 +7055,7 @@ ...@@ -6307,7 +7055,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 129 "__id__": 143
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6339,7 +7087,7 @@ ...@@ -6339,7 +7087,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 129 "__id__": 143
}, },
"_enabled": true, "_enabled": true,
"alignMode": 0, "alignMode": 0,
...@@ -6366,7 +7114,7 @@ ...@@ -6366,7 +7114,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 128 "__id__": 142
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -6439,7 +7187,7 @@ ...@@ -6439,7 +7187,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
}, },
"_N$target": { "_N$target": {
"__id__": 129 "__id__": 143
}, },
"_id": "54SC9WcmBAZ6cTznyI0o+3" "_id": "54SC9WcmBAZ6cTznyI0o+3"
}, },
...@@ -6448,7 +7196,7 @@ ...@@ -6448,7 +7196,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 128 "__id__": 142
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -6475,20 +7223,20 @@ ...@@ -6475,20 +7223,20 @@
"_name": "BtnOpen", "_name": "BtnOpen",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 124
}, },
"_children": [ "_children": [
{ {
"__id__": 137 "__id__": 151
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 142 "__id__": 156
}, },
{ {
"__id__": 143 "__id__": 157
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6544,20 +7292,20 @@ ...@@ -6544,20 +7292,20 @@
"_name": "Background", "_name": "Background",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 136 "__id__": 150
}, },
"_children": [ "_children": [
{ {
"__id__": 138 "__id__": 152
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 140 "__id__": 154
}, },
{ {
"__id__": 141 "__id__": 155
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6613,13 +7361,13 @@ ...@@ -6613,13 +7361,13 @@
"_name": "Label", "_name": "Label",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 137 "__id__": 151
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 139 "__id__": 153
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6675,7 +7423,7 @@ ...@@ -6675,7 +7423,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 138 "__id__": 152
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6708,7 +7456,7 @@ ...@@ -6708,7 +7456,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 137 "__id__": 151
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6740,7 +7488,7 @@ ...@@ -6740,7 +7488,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 137 "__id__": 151
}, },
"_enabled": true, "_enabled": true,
"alignMode": 0, "alignMode": 0,
...@@ -6767,7 +7515,7 @@ ...@@ -6767,7 +7515,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 136 "__id__": 150
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -6840,7 +7588,7 @@ ...@@ -6840,7 +7588,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
}, },
"_N$target": { "_N$target": {
"__id__": 137 "__id__": 151
}, },
"_id": "81HoUuRyJOppi+n4Av/u0p" "_id": "81HoUuRyJOppi+n4Av/u0p"
}, },
...@@ -6849,7 +7597,7 @@ ...@@ -6849,7 +7597,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 136 "__id__": 150
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -6876,7 +7624,7 @@ ...@@ -6876,7 +7624,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 110 "__id__": 124
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -6909,13 +7657,13 @@ ...@@ -6909,13 +7657,13 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 146 "__id__": 160
}, },
{ {
"__id__": 147 "__id__": 161
}, },
{ {
"__id__": 148 "__id__": 162
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6971,7 +7719,7 @@ ...@@ -6971,7 +7719,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 145 "__id__": 159
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 2,
...@@ -6998,7 +7746,7 @@ ...@@ -6998,7 +7746,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 145 "__id__": 159
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -7066,7 +7814,7 @@ ...@@ -7066,7 +7814,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 145 "__id__": 159
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7104,7 +7852,7 @@ ...@@ -7104,7 +7852,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 150 "__id__": 164
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7160,7 +7908,7 @@ ...@@ -7160,7 +7908,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 149 "__id__": 163
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
......
...@@ -245,6 +245,18 @@ cc.Class({ ...@@ -245,6 +245,18 @@ cc.Class({
window.courseware.closeOsmo(); window.courseware.closeOsmo();
}); });
cc.find('middleLayer/ui/BtnOpenRecord').on('click', () => {
window.courseware.startRecord('');
});
cc.find('middleLayer/ui/BtnCloseRecord').on('click', () => {
window.courseware.stopRecord(0, res => {
this.log('--------录音返回结果------------');
this.log(JSON.stringify(res))
this.log('------------------------------');
});
});
const BtnStartLocal = cc.find('middleLayer/ui/BtnStartLocal'); const BtnStartLocal = cc.find('middleLayer/ui/BtnStartLocal');
BtnStartLocal.on('click', () => { BtnStartLocal.on('click', () => {
const addressText = cc.find('middleLayer/ui/address'); const addressText = cc.find('middleLayer/ui/address');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment