[LayaAir 2.0]1.7的接口消失

// ZmyTestManager.Ani.on(Laya.Event.COMPLETE, this, this.OnCurrentAnimationCompleted);//循环动画完成播放单次循环

// ZmyTestManager.Ani.on(Laya.Event.STOPPED, this, this.OnCurrentAnimationStopped);//非循环动画停止播放

这个接口在2.0后就没有了 文档上也查不到替代的功能
已邀请:

Aar0n

赞同来自:

用当前帧播放百分比来判断是否完成,或者动画完成可以加一个事件。
10.png

要回复问题请先

商务合作
商务合作