- Creator 版本: 2.4.6
今天升级了一下creator的版本,然后repeatForever就不能用了,一直打印:[Action update]. override me。
*这样就会报错
cc.tween(this.icon)
.to(0.5,{position:cc.v3(-100, -100)})
.to(0.5,{position:cc.v3(100, 100)})
.repeatForever()
.start();
这样就正常
cc.tween(this.icon)
.then(
cc.tween()
.to(0.5,{position:cc.v3(-100, -100)})
.to(0.5,{position:cc.v3(100, 100)}))
.repeatForever()
.start()*
看官网文档也没有这方面的说明,官方例子太简单了。
https://docs.cocos.com/creator/manual/zh/scripting/tween.html?h=%20cc.tween()
