Commit 74b27ba6 authored by limingzhe's avatar limingzhe

fix: 多音频调整

parent dc7441e1
No preview for this file type
{
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle": true,
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": true,
"android": true
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
......@@ -273,7 +273,11 @@ cc.Class({
async coolCatSpeakEnd() {
const cat = cc.find('Canvas/catFrame/cat');
playDragonBoneAnimation(cat, 'finish', -1);
this.isCanPlayItemAudio = false;
await this.asyncPlayAudioByUrl(this.data.endAudio);
this.isCanPlayItemAudio = true;
playDragonBoneAnimation(cat, 'normal', -1);
},
......
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