The Most Important Page in the Unity3D Documentation

      Comments Off on The Most Important Page in the Unity3D Documentation

http://docs.unity3d.com/Manual/ExecutionOrder.html

The unity object lifecycle is critically important to understand. It’s so important that I have it in my browser bookmarks bar right next to my music streaming and rss feed. This image in particular will be your best friend:

Brief Summary:

    • It’s important to note that game objects that start the scene in a disabled state, when enabled, OnEnable will fire before Start does, so it’s important to put initialization code that’s used in your OnEnable in the Awake Function. Generally initialization code in your Awake is a good practice.
    • Triggers Will Execute before Collision
    • FixedUpdate (Physics) -> Update -> CoRoutines -> Late Update