Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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
 
PREVIOUS NEXT
Tagged: #frame #time #unity
ADD COMMENT
Topic
Name
7+2 =