Are Update's serialized or parallelized?

I'm new to Unity5, and I'm trying to create a simple game.

By extending MonoBehaviour, I receive an Update() function. But I don't know how it works behind the scenes.

My question is, are the Update() functions serialized (called one after the other) or parallelized when many MonoBehaviours have their own Update functions.

For example, if I have two scripts with its own Update in each, would the Updates be called at the same time (parallelized) or are they called one after the other (serialized)?

If they are serialized, how do I determine the order?

-------------Problems Reply------------

By default, new MonoBehaviour scripts are executed in whatever order Unity compiles them into. They are not run at the same time, they run one after another.

If you want to specify the execution order, you can do so under:

Edit > Project Settings > Script Execution Order.

Further reading: Execution Order of Event Functions

Category:unity3d Views:1 Time:2018-07-10

Related post

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.213 (s). 11 q(s)