[LayaAirIDE 2.0]一个没有动作的骨骼动画 替换插图没有用


90FKQH5(WWSN[A2`BJLR}1K.png

    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帧的动画时 替换贴图不行
已邀请:

kylin9718

赞同来自:

麻烦提供demo,我们看一下

要回复问题请先

商务合作
商务合作