Unity Event Life Cycle
Unity Event Life Cycle
Initialization
Reset is called when the script is attached and not in playmode.
Editor
Start is only ever called once for a given script.
Initialization
The physics cycle may happen more than once per frame if FixedUpdate
the fixed time step is less than the actual frame update time.
Internal physics update
OnTriggerXXX Physics
OnCollisionXXX
yield WaitForFixedUpdate
OnMouseXXX
Input events
OnWillRenderObject
OnBecameVisible
OnBecameInvisible
OnPreRender Scene rendering
OnRenderObject
OnPostRender
OnRenderImage
yield WaitForEndOfFrame
End of frame
OnApplicationPause is called after the frame where the
pause occurs but issues another frame before actually pausing. OnApplicationPause
Pausing
OnApplicationQuit
1 of 1 09-Mar-21, 10:31 AM