Created
December 27, 2017 01:03
-
-
Save JeOam/9db92dbbfa346c9681881d7da86d3a9e to your computer and use it in GitHub Desktop.
Unity Notes
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A
Prefab
is a template GameObject that we can make copies of.All GameObjects have a
Transform
component`. The Transform component holds data about where the GameObject is in the Scene, how it rotated and how it scaled.