[]为什么加载进度回调只调用了一次。下面有代码,求解答
Laya.loader.load(
// 资源
[{url:'res/atlas/comp.json',type:Laya.Loader.ATLAS}].concat(loadArr),
// 加载完成回调
Laya.Handler.create(null,function(){
var logintest = new loginTestView().init();
Laya.stage.addChild(logintest);
}),
// 加载进度回调 {???为什么只调用了一次 || 进度不是持续调用的吗,直到加载完成}
Laya.Handler.create(null,function(e){
console.log(e)
}))
// 资源
[{url:'res/atlas/comp.json',type:Laya.Loader.ATLAS}].concat(loadArr),
// 加载完成回调
Laya.Handler.create(null,function(){
var logintest = new loginTestView().init();
Laya.stage.addChild(logintest);
}),
// 加载进度回调 {???为什么只调用了一次 || 进度不是持续调用的吗,直到加载完成}
Laya.Handler.create(null,function(e){
console.log(e)
}))
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
cuixueying
赞同来自: