Game Development Reference
In-Depth Information
Initialize
Process
User Input
Update
Game Objects
Process
All
Game
Objects
Process Components
Main Loop
Update State
Update
Environment
Render
Scene
Clean up
Fig 1.17 How a game runs.
Unity Specifics
Game Objects
Game objects are the fundamental building blocks for Unity games.
It is through the addition, modification, and interaction of game
objects that you will create your own game. After adding a game
object in Unity (which you will do in the next section), a variety
of components can be added to give the game object different
functionalities. In all there are seven component categories.
These are explored thoroughly throughout this topic. In short,
they are mesh , particles , physics , audio , rendering , miscellaneous ,
and scripts as shown in Figure 1.18 . A game object can have all,
none, or any combination of these components added. The game
object exemplified in Figure 1.18 has at least one of each of these
component types added.
A Mesh component handles the drawing of an object. Without a Mesh
component, the game object is not visible. A Particles component
allows for a game object to have a particle system added. For example,
if the game object were a jet fighter, a particle system could be added
 
Search Nedrilad ::




Custom Search