The world, time, and updates
A Unity scene represents a collection of finite GameObjects inside the same 3D space and that also share the same timeframe. Every game needs to establish a unified concept of time to achieve synchronized animation and change, because animation means change over time. In Unity, the Time class is available for reading and understanding time and its passing in script. Working with this class is therefore a critical skill for the creation of predictable and consistent motion in your games. More on this shortly.
Every game has a frame rate, which is defined in frames per second (FPS). This rate is viewable from the Stats panel in the Game tab. The FPS tells you how many times in 1 second Unity is able to loop or iterate ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access