Game Development Reference
to give the effect of afterburners. A Physics component gives the game
object real-world physical properties so it can be collided with and
affected by gravity and other physics effects. An Audio component
adds sound or sound effects to a game object. For example, if the
game object were a car, the noise of a car engine could be added.
A Rendering component adds special effects to a game object such
as emitting light. Miscellaneous components include a variety of
effects for the game objects that do not fit within other categories.
In Figure 1.18 , the Wind Zone component is shown as a type of
miscellaneous component. In brief, this causes the game object to
become a source of wind for interaction within the physics system.
Finally, Scripts are components that contain programming code to alter
the behavior of a game object. Scripts can be used for a large variety
of purposes and are fundamental to developing game mechanics and
tying an entire game together.
knowledge in programming to get started and the syntax is more
forgiving than C#.
Fig 1.18 Components that can be added to a game object in Unity.