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
DOTween
doesn't useCoroutines
in the background but rather reproduces their behavior itself.Basically it is happening in
TweenManager.Update
which is called by theDOTweenComponent
in multiple places (Update
,LateUpdate
andFixedUpdate
)So basically it depends which update type a certain
Tweener
uses which is what is returned byDOTween.To