[]this.animation.loadAtlas 加载失败

this.animation.loadAtlas 加载失败什么捕获并处理,还有获取改animation的内存大小
this.animation.loadAtlas(this.resUrl, Laya.Handler.create(this, this.loadCompleted, [completeFun]), this.resUrl);
 
已邀请:

cuixueying

赞同来自:

666.png

你没有办法为ani添加加载失败(error)事件,不过你可以直接为laya.laoder.load添加加载失败(error)事件!

要回复问题请先

商务合作
商务合作