我用TypeScript 去寫
new cc.Tween(this.node)
.to(5,{position:pos,progress:(start,end,current,ratio)=>
{
return start + (end-start)*ratio;
},easing:“quadIn”})
.start();
可是會跳這些訊息
tween.js:39 Can not animate position property, because it do not have [lerp, (add|mul), clone] function.
ctor @ tween.js:39
tween.js:39 Can not animate progress property, because it do not have [lerp, (add|mul), clone] function.
ctor @ tween.js:39
tween.js:39 Can not animate easing property, because it do not have [lerp, (add|mul), clone] function.
ctor @ tween.js:39
可以幫我看一下 問題出在哪嗎??
