본문 바로가기
프로그래밍/Unity

Unity 3D - 기본 함수

by neive 2013. 9. 23.
728x90



First Scene Load

Awake()

OnEnable()


Before the first frame update

Start()


In between frames

FixedUpdate()

Update()

LateUpdate()


Rendering

OnPreCull

OnBecameVisible / OnBecameInvisible

OnWillRenderObject()

OnRenderObject()

OnPostRender()

OnRenderImage()

OnGUI()

OnDrawGizmos()


Coroutine

yield;

yield WaitForSeconds(n)

yield WaitForFixedUpdate()

yield WWW

yield StartCoroutine(Func)


When the Object is Destroyed

OnDestroy()


When Quitting

OnApplicationQuit()

OnDisable



OnCollisionEnter() / Stay() / Exit()

OnTriggerEnter() / Stay() / Exit()


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



728x90

댓글