Commit f832a01a authored by WangFan's avatar WangFan

补交场景

parent 676f5b9b
...@@ -99,13 +99,13 @@ ...@@ -99,13 +99,13 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 364 "__id__": 368
}, },
{ {
"__id__": 365 "__id__": 369
}, },
{ {
"__id__": 366 "__id__": 370
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -15745,6 +15745,12 @@ ...@@ -15745,6 +15745,12 @@
"_children": [ "_children": [
{ {
"__id__": 362 "__id__": 362
},
{
"__id__": 364
},
{
"__id__": 366
} }
], ],
"_active": true, "_active": true,
...@@ -15878,6 +15884,168 @@ ...@@ -15878,6 +15884,168 @@
"preload": false, "preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz" "_id": "dey05oKrBIspvsDa6pOIQz"
}, },
{
"__type__": "cc.Node",
"_name": "fail",
"_objFlags": 0,
"_parent": {
"__id__": 361
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 365
}
],
"_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": "f2HYEPzNdDaKx3QfEZnYFj"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 364
},
"_enabled": true,
"_clip": {
"__uuid__": "8720b6ba-1b31-4e59-9cbe-c6ab93b53e94"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "17wrMMYSZLh733NYxDAP9C"
},
{
"__type__": "cc.Node",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 361
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 367
}
],
"_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": "23ZiKJgXlOMr5nurlxdvCi"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 366
},
"_enabled": true,
"_clip": {
"__uuid__": "8b764508-39fd-4eb9-98f5-7df481685fa5"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "a4Z8PdAVlHX5/2rrct36U0"
},
{ {
"__type__": "cc.Canvas", "__type__": "cc.Canvas",
"_name": "", "_name": "",
......
...@@ -131,9 +131,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -131,9 +131,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
let audio_url = this.wordDataList[this.curIndex].audio let audio_url = this.wordDataList[this.curIndex].audio
if (audio_url) pg.audio.playAudioByUrl(audio_url) if (audio_url) pg.audio.playAudioByUrl(audio_url)
return this.wordDataList[this.curIndex]; return this.wordDataList[this.curIndex];
}
playCurrentVideo() {
} }
nextWord() { nextWord() {
let success = true; let success = true;
......
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