- Home /
 
 
               Question by 
               unity3dstream · Aug 29, 2018 at 11:20 AM · 
                timestep  
              
 
              how to change timestep on program runtime?
how can i dynamic change this value?
               Comment
              
 
               
              Hi @unity3dstream - What timestep are you talking about? Your question is really vague... 
 Are you talking perhaps about Fixed time step? 
 https://docs.unity3d.com/$$anonymous$$anual/class-Time$$anonymous$$anager.html
 
               Best Answer 
              
 
              Answer by Ermiq · Aug 29, 2018 at 04:04 PM
 Time.timeScale = 0.5f; // slow down
 Time.timeScale = 1f; // normal speed
 Time.timeScale = 2f; // two times faster than normal
 Time.timeScale = 0f; // stop the time and the game
 
               You can find more info here at Unity docs: https://docs.unity3d.com/Manual/TimeFrameManagement.html
Your answer