====== Time ====== ===== General Notes ===== * ''Time.frameCount'' is equal to ''0'' before the first update. (ie. During Initialization and Awakening of the first scenes) * ''Application.targetFrameRate'' uses Sleep(), and is not suitable for high frame rate applications.((https://forum.unity.com/threads/application-targetframerat-it-doesnt-work-in-version-2020-2-0b5-3233.982353/#post-6388881)) ((This property is meant for controlling frame rates on mobile devices to improve battery usage in low-frame rate applications)) ===== Recommended Reading ===== * [[https://gafferongames.com/post/fix_your_timestep/]] * [[https://johnaustin.io/articles/2019/fix-your-unity-timestep]] * [[https://blogs.unity3d.com/2020/10/01/fixing-time-deltatime-in-unity-2020-2-for-smoother-gameplay-what-did-it-take/]]