Skip to content

Instantly share code, notes, and snippets.

@JeOam
Created December 27, 2017 01:03
Show Gist options
  • Save JeOam/9db92dbbfa346c9681881d7da86d3a9e to your computer and use it in GitHub Desktop.
Save JeOam/9db92dbbfa346c9681881d7da86d3a9e to your computer and use it in GitHub Desktop.
Unity Notes
@JeOam
Copy link
Author

JeOam commented Dec 28, 2017

Update vs FixedUpdate vs LateUpdate:

Update():

  • Called Every Frame
  • Used for regular updates such as: Moving Non-Physics objects, Simple Timers, Receiving Input
  • Update interval times vary

FixedUpdate():

  • Call Every Physics Step
  • Fixed Update intervals are consistent
  • Used for regular updates such as: Adjusting Physics (Rigidbody) objects

LateUpdate():

  • Called after all Update functions have been called.

@JeOam
Copy link
Author

JeOam commented Jan 15, 2018

@JeOam
Copy link
Author

JeOam commented Jan 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment