[LayaAirIDE 2.0]一个没有动作的骨骼动画 替换插图没有用
sp(){
this.skebqb = new Laya.Skeleton(SkeTemp.tempbqb, 1);
this.skebqb.play(4, false);
this.skebqb.on(Laya.Event.STOPPED,this,this.changeSkin);
this.owner.addChild(this.skebqb);
this.skebqb.pos(500, 600);
this.changeSkin();
}
changeSkin(){
this.skebqb.replaceSlotSkinName("chuandiwu","","bianbian");
console.log("1111");
}
使用了模板 其他可以动的动画是可以正确替换贴图的 但是播放0帧的动画时 替换贴图不行
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
kylin9718
赞同来自: