[]播放骨骼动画
大神,你好,播放骨骼动画掉帧厉害,怎么优化。
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);
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);
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Monica - 知识达人
赞同来自: