Commit 96fa0ca3 authored by asdf's avatar asdf

.

parent e30e486c
......@@ -16,6 +16,9 @@ cc.Class({
},
playAudio(){
if(GameData.audioCount !== 0){
return;
}
GameData.audioCount++;
let url = GameData.scene.data.questionList[GameData.questionIndex].audio;
cc.assetManager.loadRemote(url, null, (err, clip) => {
......
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