Closed rauwebieten closed 2 years ago
Found the solution in another issue. #91
Create the sequence like this, adding the ID
DOTween.Sequence()
.Append(material.DOColor(color, duration))
.Join(target.transform.DOScale(targetScale, duration))
//.SetEase(Ease.InOutElastic)
.SetAutoKill(false)
.SetId(target);
And rewind by giving the ID:
DOTween.Rewind(target);
I created a sequence, set autokill to false
Later on, I try to rewind the sequence by
But the rewind does not happen.
When I change my code to DOTween.RewindAll() it works, but this is not what I want, because it affects other tweens.
Maybe related to issue 320, looks similar https://github.com/Demigiant/dotween/issues/320