Commit 304acf22 authored by Li Mingzhe's avatar Li Mingzhe

fix: audio clean

parent f62e65e9
......@@ -150,7 +150,7 @@
Save
</button>
<!-- <div style="height: 40px; display: flex; justify-items: center;" >
<div *ngIf="isCopyData" style="height: 40px; display: flex; justify-items: center;" >
<label style="margin-left: 40px" nz-checkbox [(ngModel)]="bgItem.isShowDebugLine">显示辅助框</label>
......@@ -164,7 +164,7 @@
</div>
</div> -->
</div>
</div>
......
{
"ver": "2.0.1",
"uuid": "5f90eb34-39ee-43fd-a048-8767a6bcaf46",
"downloadMode": 0,
"duration": 1.575667,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "4dabd83c-7cca-4211-8fad-b4d66f924a39",
"downloadMode": 0,
"duration": 64.068125,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "1e0a8c69-c0ee-4be2-a9fe-5ec4992502b7",
"downloadMode": 0,
"duration": 0.914286,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "6d989aee-a404-41d4-b42f-959c1116056e",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e9c2cbda-14bb-4993-823f-fd7525f69102",
"downloadMode": 0,
"duration": 0.372875,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d5a0dc39-7eac-4958-9464-0e1dbb5c3ab5",
"downloadMode": 0,
"duration": 0.86205,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "6f7572da-a689-4b8d-a6a5-93125a392b73",
"downloadMode": 0,
"duration": 1.28,
"subMetas": {}
}
\ No newline at end of file
......@@ -90,13 +90,13 @@
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 95
},
{
"__id__": 100
"__id__": 96
},
{
"__id__": 101
"__id__": 97
}
],
"_prefab": null,
......@@ -4071,12 +4071,6 @@
},
{
"__id__": 93
},
{
"__id__": 95
},
{
"__id__": 97
}
],
"_active": true,
......@@ -4131,7 +4125,7 @@
},
{
"__type__": "cc.Node",
"_name": "circle",
"_name": "down",
"_objFlags": 0,
"_parent": {
"__id__": 84
......@@ -4189,7 +4183,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "50Vc4b1BVFJI7FEkGuGM4S"
"_id": "f0x5ckidJP5KWgxP+TVQyF"
},
{
"__type__": "cc.AudioSource",
......@@ -4200,14 +4194,14 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "31b0147d-dccc-473d-8a04-9a99a983d790"
"__uuid__": "78a668b5-2bbb-4e9c-a2eb-35416737679b"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false,
"_id": "d2N64WKZxFy7WLXUvXCetO"
"_id": "9819JdQWhPc64pw4lhL4sx"
},
{
"__type__": "cc.Node",
......@@ -4291,7 +4285,7 @@
},
{
"__type__": "cc.Node",
"_name": "pop",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 84
......@@ -4349,7 +4343,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "37xb33lmVBVKuU6ZSwhsT+"
"_id": "992COnFOFBIKh/s8vJFBAB"
},
{
"__type__": "cc.AudioSource",
......@@ -4360,18 +4354,18 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "e9c2cbda-14bb-4993-823f-fd7525f69102"
"__uuid__": "e16b7ade-4443-4a93-b6ac-24a9e588cff0"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false,
"_id": "53z2mQtDdKXocMzHIboeli"
"_id": "92iMg0c3xKeoAhkDRvLWaH"
},
{
"__type__": "cc.Node",
"_name": "right",
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 84
......@@ -4429,7 +4423,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "992COnFOFBIKh/s8vJFBAB"
"_id": "3dC89qnZtKHakBPrc53rv2"
},
{
"__type__": "cc.AudioSource",
......@@ -4440,18 +4434,18 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "e16b7ade-4443-4a93-b6ac-24a9e588cff0"
"__uuid__": "7a26e5b1-55ca-4cbe-a7b9-a6e3d92d280d"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false,
"_id": "92iMg0c3xKeoAhkDRvLWaH"
"_id": "09DNLutpJMoKe0mkMiz+DV"
},
{
"__type__": "cc.Node",
"_name": "enter",
"_name": "up",
"_objFlags": 0,
"_parent": {
"__id__": 84
......@@ -4509,7 +4503,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "2aAJmPDhJNOJXn+EKMyzao"
"_id": "b1DfD/4q1EfI5a4DN8JGoV"
},
{
"__type__": "cc.AudioSource",
......@@ -4520,174 +4514,14 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "1e0a8c69-c0ee-4be2-a9fe-5ec4992502b7"
"__uuid__": "2bc4c4f8-ed43-46bf-9d81-06f71b6a01a4"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false,
"_id": "eaLyZrQKRC/IIg4FYwHCzs"
},
{
"__type__": "cc.Node",
"_name": "appear",
"_objFlags": 0,
"_parent": {
"__id__": 84
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 96
}
],
"_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": "98pdju561F6ppaLNVHiuYm"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
},
"_enabled": true,
"_clip": {
"__uuid__": "5f90eb34-39ee-43fd-a048-8767a6bcaf46"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false,
"_id": "30O8eJyzZLvr90r130cPn4"
},
{
"__type__": "cc.Node",
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 84
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
}
],
"_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": "3dC89qnZtKHakBPrc53rv2"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": true,
"_clip": {
"__uuid__": "7a26e5b1-55ca-4cbe-a7b9-a6e3d92d280d"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false,
"_id": "09DNLutpJMoKe0mkMiz+DV"
"_id": "e843BwsyRGiZcX7u6rqC3o"
},
{
"__type__": "cc.Canvas",
......
......@@ -204,12 +204,7 @@ cc.Class({
return audioNode.getChildByName(resName).getComponent(cc.AudioSource);
}
this.audioEnter = getAudioByResName('enter');
this.audioAppear = getAudioByResName('appear');
this.audioCircle = getAudioByResName('circle');
this.audioClick = getAudioByResName('click');
this.audioPop = getAudioByResName('pop');
this.audioRight = getAudioByResName('right');
this.audioWrong = getAudioByResName('wrong');
this.audioUp = getAudioByResName('up');
this.audioDown = getAudioByResName('down');
......
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