vincent Laya.loader.load(slot_sound_res, Laya.Loader.SOUND, Handler.create(this, onSoundProgress, null, false)); //游戏资源加载进度函数 function onSoundProgress(pro) { console.log("sound" + pro); } 这样写哪里错了?
cuixueying 你声音加载的格式写错 Laya.loader.load(slot_sound_res,Handler.create(this,onSoundComplete),Handler.create(this,onSoundProgress),Laya.Loader.SOUND,null,flase) 写代码的时候注意下接口的参数类型