Demigiant Forum
Unity Assets => DOTween & DOTween Pro => Topic started by: editkid on August 08, 2015, 02:21:50 PM
-
Just ran into the following and wanted to check if it's intentional. The .OnPlay() callback doesn't seem to be called .OnRestart() of a Sequence.
It works when you do .Rewind() and .Play(), however.
DOTween v1.0.750
DOTween Pro v0.9.290
Cheers!
Peter
-
Hi,
Ouch, you found a bug. The update I'm attaching fixes it. Consider that it will now correctly call OnPlay only if you call Restart after the tween has completed (meaning the tween was in a paused state).
Cheers!
Daniele