notes

Personal notes
git clone git://git.laack.co/notes.git
Log | Files | Refs

GameLoop.md (430B)


      1 # Unity Game Loop
      2 
      3 CS 331 W12 L3
      4 
      5 **Definition:** Each frame the loop function of each script is called. 
      6 
      7 This is the same idea as animation which is giving motion to still images. 
      8 
      9 When using the game loop you can call Time.deltaTime to get the seconds between the previous and current frame as a float. This can be used to achieve frame rate independence. 
     10 
     11 See [MonoBehaviour](MonoBehaviour.md) for more about update method.