dotween icon indicating copy to clipboard operation
dotween copied to clipboard

Sequence.OnComplete not fired during Editor Preview

Open nindim opened this issue 4 years ago • 0 comments

Hi,

I am adding an OnComplete callback to the end of a Sequence via:

m_sequence.OnComplete(OnCompletion);

This fires correctly at runtime, but does not fire when I preview the Sequence in the Editor (the Sequence itself plays fine). I am playing the Sequence using:

DOTweenEditorPreview.PrepareTweenForPreview(m_sequence);
DOTweenEditorPreview.Start();

Is it possible for this to be fixed to avoid needing to handle this as a special case when Aplication.isPlaying is false, please?

Thank you!

nindim avatar May 18 '21 08:05 nindim