public class UpdateAndFixedUpdate : MonoBehaviour
Debug.Log(“FixedUpdate time :” + Time.deltaTime);
Debug.Log(“Update time :” + Time.deltaTime);
What I Learned
This tutorial taught me the difference between using Update and FixedUpdate in a script. Attaching the script to and object and using the Debug function helped show the difference in the console view. FixedUpdate updated physics every 0.2 seconds while the other was more random. One problem I had to solve was making sure my script was attached to the right object and was accurate.