Hey guys…
I’ve read the unity docs and i can say i underestand the execution flow when it comes to only one script.
However,what happens when we have two or more scripts attached to different gameobjects that run in parallel?
I was wondering if unity is using some kind of time sharing when executing multiple scripts.For example Script 1 runs for 2secs (just an example) then Script 2 resumes its execution for another 2 seconds and so on…
If something like that happens,is it a possible that a function executing in one script gets interrupted before it completes for another script to run?Or function calls are “atomic”?
Thank you in advance?