Answers for "unity how to get frame time"

1

frame time unity

Time.deltaTime // time passed between frames
  			   // used multiplied to an effect in Update()
  			   // e.g.: Rigidbody.AddForce(0, 0, 2 * Time.deltaTime)
  			   // In this way the force doesn't depend on the framerate
Posted by: Guest on July-07-2021

Browse Popular Code Answers by Language