Event Execution Order

From Unify Community Wiki
Revision as of 17:35, 26 August 2006 by NCarter (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
  • 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