1
DOTween & DOTween Pro / Re: OnComplete callback does not called sometimes in v1.0.720
« on: May 29, 2015, 06:57:49 PM »Could you check if you have this same issue with v1.0.606
Unfortunately, I can't check this version.
There are a lot errors in my Unity 5.0.2 You've fixed those errors in v1.0.720 only...
By the way, here's also a temporary fix in the meantime. I believe this error happens only if you have a nested callback (like OnComplete) that is fired at the end of a Sequence. But if you add an OnComplete to the Sequence itself that should always happen correctly.
Yes, you're right, seems like the below code works as it should
Code: [Select]
DOTween.Sequence()
.Append(transform.DOLookAt(moveTo, 1, AxisConstraint.None, Vector3.up))
.Insert(0, transform.DOMove(moveTo, movingTime, false).SetEase(Ease.Linear))
.OnComplete(onMoveComplete);
Thank you!