Event Execution Order

From Unify Community Wiki
Revision as of 19:12, 19 October 2009 by NCarter (Talk | contribs)

Jump to: navigation, search

Note: Also see the Updated Event Execution Order.

Events in your scripts are executed in a specific order:

  • All Awake calls
  • All Start calls
  • While stepping towards variable delta time:
    • All FixedUpdate functions
    • Physics simulation
    • OnEnter/Exit/Stay trigger functions
    • OnEnter/Exit/Stay collision functions
  • Rigidbody interpolation applies transform.position and rotation
  • OnMouseDown/OnMouseUp etc. events
  • All Update functions (With Update before OnGUI)
  • Animations are advanced, blended and applied to transform
  • All LateUpdate functions
  • Rendering

References

This information was derived from this thread in the Unity forum.

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox