[]骨骼怎么没有gotoAndStop方法
我要停止到骨骼动画的某个动作的最后一帧,怎么写
_skeleton.play(action, false);
_skeleton.index = _skeleton.total;
_skeleton.stop();
这样写的话,有时候获取skeleton的total时会报错,里面那个currentAnimationClipIndex是-1
_skeleton.play(action, false);
_skeleton.index = _skeleton.total;
_skeleton.stop();
这样写的话,有时候获取skeleton的total时会报错,里面那个currentAnimationClipIndex是-1
要回复问题请先登录
1 个回复
cuixueying
赞同来自: