Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.35k stars 351 forks source link

DOTween.Kill(intId) doesn't work #504

Closed osience closed 3 years ago

osience commented 3 years ago

I use DOTween in my lua code, I create tweens in a for loop and assign them a same intId. In another function I use DOTween.Kill with the intId to kill the tweens , but the tweens played as Normal after the kill function. for i = 1,10 then local tTweener = tNodeContent:DOLocalMove(Static.endPos,Static.speed) tTweener:SetId(1000) tTweener:SetEase(CSEase.OutCubic) end the kill function: CSDOTween.Kill(1000,true)