📜  deltatime - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:48.295000             🧑  作者: Mango

代码示例1
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