setEndListener spine播放完回掉问题

this._skeleton.getComponent(cc.Skeleton).setAnimation(0, “blue”, false);
this._skeleton.getComponent(cc.Skeleton).setEndListener(function(){
this.scheduleOnce(function() {
if (this._type == 0) {
this._map.getComponent(“MapContentView”)._onMoveHead();
} else {
this._type = 0;
Global.CHECKPOINT ++;
}
}, 1);
}.bind(this));

这个end播放完spine根本不回掉 倒是到了第二次播放这个spine动画有了回掉 但也不是播放完 而是第二次刚开始播放就触发 这是bug吗 查了好多 好像这个问题 很久以前就没修复?
@panda

已解决 原来要用这个setCompleteListener

1赞

大哥 这个函数有样例 可以给我看看吗

非常感谢