Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


time

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
time [2021/02/07 23:54]
uninomiconadmin
time [2021/04/29 19:10] (current)
uninomiconadmin
Line 1: Line 1:
-#Time +====== Time ====== 
-Time.frameCount == 0 before the first update. (During Initialization and Awakening of the first scenes)+ 
 +===== 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/]] 
  
time.1612742095.txt.gz · Last modified: 2021/02/07 23:54 by uninomiconadmin