level 1
cc.loader.load(musicPathName,function(err, arr){
if (err) {
cc.log("music-error:"+musicPathName);
}
else
{
var msg = JSON.stringify(arr[0]);
cc.log("music3:"+arr[0]
}
});
输出为什么为null,求大神帮忙
2017年02月21日 12点02分
1
level 1
musicPathName是你的歌曲路径,你连歌曲路径都没有填,怎么会加载音乐哦
2019年02月03日 17点02分
4