I have read Unity's Order of execution for event functions.
Now I want to use DOTween.
So I have a question. When does DOTween.To() happen in Unity's "Order of execution for event functions"?
Does it happens in "Update" or "yield return null" or other event?
When does DOTween.To() happen in Unity's "Order of execution for event functions"
2.1k Views Asked by AdmiralOrange At
1
You can simply look this up in the source code
DOTweendoesn't useCoroutinesin the background but rather reproduces their behavior itself.Basically it is happening in
TweenManager.Updatewhich is called by theDOTweenComponentin multiple places (Update,LateUpdateandFixedUpdate)So basically it depends which update type a certain
Tweeneruses which is what is returned byDOTween.To