Coroutine과 Yield return
Coroutine과 Yield return 유니티에서는 작업을 쉽게 분할 처리 하기위해 코루틴이라는 녀석을 제공한다.코루틴은 메인쓰레드를 비동기식으로 할당하여 특정 작업을 처리하며 그 특성 때문에 몇 가지 반환 방법이 존재한다. 종류는 아래와 같다. yield return null – the coroutine executes the next time that it is eligibleyield return new WaitForEndOfFrame – the coroutine executes on the frame, after all of the rendering and GUI is completeyield return new WaitForFixedUpdate – causes this coroutine to..
2019.03.18