[]骨骼动画播放完了,回调隐藏,回调在哪里
var mArmature;
mFactory = new Templet();
mFactory.loadAni("NiuXingTianXia/spine/start2.sk");
mFactory.on(Event.COMPLETE, this, function () {
mArmature = mFactory.buildArmature();
mArmature.pos(650, 330);
mArmature.play(0, false);
this.addChild(mArmature);
});
mFactory = new Templet();
mFactory.loadAni("NiuXingTianXia/spine/start2.sk");
mFactory.on(Event.COMPLETE, this, function () {
mArmature = mFactory.buildArmature();
mArmature.pos(650, 330);
mArmature.play(0, false);
this.addChild(mArmature);
});
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
wudi199553
赞同来自:
Monica - 知识达人
赞同来自:
你看下Skeleton中API的事件吧