if (!this.tw) {
this.tw = Tween.from(this.victoryCom, 0.4, { y: “+=500” })
this.tw.eventCallback(“onStart”, () => {
this.victoryCom.active = !this.victoryCom.active;
}, null);
this.tw.eventCallback(“onComplete”, ()=>{
cc.log(“完成”);
});
} else {
if (this.tw.reversed()) {
this.tw.restart();
} else {
this.tw.reverse(0,false);
}
}
我reverse这个动画就无法触发回调onStart或者onComplete函数了,有什么方法可以让reverse也触发回调吗?