Creator 版本:2.4.1
目标平台: web
复现概率:100%
详情:
cc.tween(this.node)
.parallel(
cc.tween().to(20, { x: -600 }),
cc.tween().repeat(10, cc.tween().by(1, { y: 50 }, { easing: ‘sineInOut’ }).by(1, { y: -50 }, { easing: ‘sineInOut’ }))
)
.start();
cc.tween(this.node).stop(); // 该方法无效 并不能停止节点运动
this.node.stopAllActions(); // 该方法有效!!