うにてぃブログ

主にUnityとC#に関する記事を書いていきます

【Unity】UnityEngine.CustomYieldInstruction の GC

気になったので計測
WaitUntilWaitWhilewhite() に置き換えたほうがいいかもしれない

WaitForSeconds

20 B

WaitUntil

136 B

WaitWhile

136 B

WaitForFixedUpdate

16 B

WaitForSecondsRealtime

24 B

WaitForEndOfFrame

16 B