When I would use Invoke(Function,5.0f), Function should be fired in exactly 5 seconds from now. My question roughly is, how exact is this?
Unity works with frames, and it’s quite reasonable to assume that “5 seconds from now” will fall right between 2 frames. How does Unity handle this?
Also when I have 2 coroutines both stating to yield for 5 seconds (or similary have 2 invoke calls with the same specified time), will the order of execution always be maintained? What if they get mapped on the same frame?
Sorry for the vague question.
Damn that's exactly what I thought. (Which unfortunately isn't what I hoped for :D)
– UnitraxxYou could try a thread - but of course that couldn't interact with Unity without syncing with the main loop anyway...
– whydoidoitWell it's been a long time, hereby I accept your answer!
– Unitraxx