大神,你好,播放骨骼动画掉帧厉害,怎么优化。
private factory:Laya.Templet;
private avatar:Laya.Skeleton;
this.factory = new Laya.Templet();
this.factory.on(Laya.Event.COMPLETE, this, this.parseComplete);
this.factory.on(Laya.Event.ERROR, this, this.onError);
this.factory.loadAni("sp/aa.sk");
this.avatar = this.factory.buildArmature(0);
this.avatar.play(0,true);