[]用Loader加载完atlas,然后使用animation播放问题

this._load = new Laya.Loader()
this._load.on(Laya.Event.ERROR, this, this.onError);
this._load.on(Laya.Event.COMPLETE, this, this.loadComplete);
this._load.load(this._data.url, Laya.Loader.ATLAS, true);
加载完成后
this._ani = new Animation();
this._ani.loadImages(这里传入解析好的urls) 会提示重复加载
为什么我都加载完了 还需要用ani的loadImages 有没有别的办法
我不想用animation.loadAtlas这个方法 这个方法检测不到加载失败
已邀请:

Laya_XS

赞同来自:

如果你只是播放一个图集动画的话你可以直接用Animiation的loadAtlas,而Animmiaton的loadImages返回的是一个animiation的一个示例,示例里用的资源必须是提前加载好的。你这个问题应该是接口找的不对,你可以试试我说的

要回复问题请先

商务合作
商务合作