This is an abbreviated version of the Order of Execution page in the Unity documentation, which lists the order in which the individual event methods of a GameObject are being called.
-
Awake(when GameObject becomes active) -
OnEnable(when component is enabled) -
Start(only first time the component is enabled) -
- frame starts
-
-
FixedUpdate(runs at physics update interval) -
OnTrigger -
OnCollision -
yieldWaitForFixedUpdate
-
-
-
Update -
yieldnull / WaitForSeconds / WWW / StartCoroutine -
LateUpdate - frame renders
-
OnGUI(can execute multiple times) -
yieldWaitForEndOfFrame -
OnApplicationPause
-
- frame ends
-
OnApplicationQuit -
OnDisable(when component is disabled) -
OnDestroy(when component is destroyed)