コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

2015-12-29から1日間の記事一覧

【Unity】Time.timescale に依存しない WaitForSeconds

WaitForSeconds は Time.timescale に依存するため Time.timescale に 0 が代入されていると WaitForSeconds が完了することはありません もしも Time.timescale に依存しないようにしたい場合は Unity 5.3 から追加された 「CustomYieldInstruction」を使用…