dotween
dotween copied to clipboard
Sequence.OnComplete not fired during Editor Preview
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!