Open thsbrown opened 2 years ago
Just a quick follow up. The way I've got around this issue currently is using the following code
public async void Play()
{
DotsPlaying = true;
while (DotsPlaying)
{
dotSequence = DOTween.Sequence();
foreach (var dot in dots)
{
//updated to latest DOTween so no longer need to specify from value
dotSequence.Append(dot.transform.DOScale(dotScale, dotScaleDuration).From(false,false));
}
dotSequence.Play();
await dotSequence.AsyncWaitForCompletion();
}
}
I have the following code
Everything seems to be working correctly on the first iteration, however on consecutive iterations it looks as though the
setImmediately: false
flag is not being respected inFrom(...)
on consecutive sequence iterations.See example below
What I expect to happen is the first iteration (with the "beeping dots") continues to happen on consecutive iterations.
Thanks so much in advance! Really love the asset!