- Home /
Question by
MapuHoB · Jan 21, 2015 at 03:55 PM ·
c#coroutineorder-of-execution
Is any coroutine called before LateUpdate?
Is a coroutine called before LateUpdate and after Update no matter when it has been started or paused or stopped or whatever?
Comment
Best Answer
Answer by MakinStuffLookGood · Jan 21, 2015 at 04:05 PM
Depends on the yield. Yield null is called between Update and LateUpdate, yield WaitForEndOfFrame is called after LateUpdate.
See http://docs.unity3d.com/Manual/ExecutionOrder.html for full explanation of when various parts of the frame loop are called.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Why is my Mathf.Movetowards Coroutine executing instantly? 2 Answers
Coroutine gets stuck randomly? 1 Answer
Yield not working properly 1 Answer