Graphics Reference
In-Depth Information
Count 1—A gameObject used to display the number 1 at the start of the race.
Final Position Text—A gameObject with the GUIText component attached,
used to show the position of the user at the end of the race.
Player Prefab List—All of the player prefabs to be instantiated to make the
game happen.
Waypoint Controller—The waypoint control system from Chapter 7.
Wrong Way Sign—A gameObject, with a GUIText component attached, to be
displayed whenever the game detects that the user is going in the wrong direc-
tion around the track.
12.2.1 Prefabs
The prefabs for this game are
FX
ExplosionParticleEffect
PLAYERS
Car
Car_AI_Rig
Car_AI_Rig_ARMED
Car_ARMED
PROJECTILES
Ground_Follower
WEAPONS
FastProjectileBlaster
12 .3 Ingredients
Metal Vehicle Doom uses these ingredients:
1. Game Controller—The game controller script for this game derives from
BaseGameController.cs.
2. Race Manager—Each player has a race controller script attached to it, which holds
information relevant to its race stats (position/waypoint, etc.). The race manager talks
to all of the player's race controllers and tracks global information on the state of the
race, such as player race positions and whether or not the race is still in progress.
Search WWH ::




Custom Search