3.15.1 JSB模式:
var hero = sp.SkeletonAnimation.createWithJsonFile(_self.res.anim.dd.spine_json, _self.res.anim.dd.spine_atlas, 0.18);
hero.anchorX = 0.5;
hero.anchorY = 0;
hero.setTimeScale(_self.roleAnimSpeed);
hero.setAnimation(0, "jump", false);
hero.setEndListener(function (animIndex) {
//这里代码是不执行的
trace("-------end---animIndex:"+animIndex)
if (animIndex == 1) {
hero.setAnimation(0, "run", true);
}
});
每次都来这个搞事 官方就不修理一下吗


