"당신이 허락하지 않는 한 아무도 당신에게 열등감을 느끼게 할 수 없다." – Eleanor Roosevelt

2017/05/14

Time.timeScale이 0.0f일 때
  • Update와 LateUpdate는 호출되지만, FixedUpdate는 호출되지 않는다.
  • unscaledDeltaTime과 fixedUnscaledDeltaTime을 제외한 모든 deltaTime이 0.0f이다.
  • FixedUpdate가 호출되지 않기 때문에 안에서 fixedUnscaledDeltaTime을 써봐야 소용없다.
  • 코루틴에서 yield return new WaitForFixedUpdate();로 양보한 뒤에는 FixedUpdate가 호출될 때까지 기다리기 때문에 이후 무엇을 하든 소용없다.

참조

https://docs.unity3d.com/ScriptReference/Time-timeScale.html

댓글 남기기 | cat > 타닥타닥 | tag > ,

예전 글

최근 글