Closed brunomikoski closed 4 years ago
Okay, actually this was working properly what doesn't work properly is the tween.WaitForCompletion()
so I had to do it like this:
Tween tween = targetWindow.transform.DOScale(toScale, duration).Pause().SetEase(ease).SetAutoKill(false);
tween.Complete();
tween.PlayBackwards();
yield return new WaitForSeconds(duration);
Hi, if you play the tween backwards the tween won't complete, but rewind. You should:
yield return tween.WaitForRewind();
:)
Hi, if you play the tween backwards the tween won't complete, but rewind. You should:
yield return tween.WaitForRewind();
:)
hahah that explains a lot! <3 Thanks a lot @Demigiant
I'm trying to create a tween, complete it and play it backwards right away, but it isn't working, any idea of why?
DOTween version: 1.2.335