Tanks Multiplayer
1.4
|
Component that acts as an area to trigger collection of CollectibleTeam items. E.g. necessary for team bases in Capture The Flag mode. Needs a Collider to trigger. More...
Public Member Functions | |
void | OnTriggerEnter (Collider col) |
Server only: check for collectibles colliding with the zone. Possible collision are defined in the Physics Matrix. More... | |
Public Attributes | |
int | teamIndex = 0 |
Team index this zone belongs to. Teams are defined in the GameManager script inspector. More... | |
ObjectSpawner | requireObject |
Optional: Other Collectible, that needs to be at its spawn position for this zone to trigger a successful collection. One example would be for Capture The Flag, where the red flags needs to be at the red spawn, in order to successfully collect the blue flag. More... | |
AudioClip | scoreClip |
Clip to play when a CollectibleTeam item is brought to this zone. More... | |
Component that acts as an area to trigger collection of CollectibleTeam items. E.g. necessary for team bases in Capture The Flag mode. Needs a Collider to trigger.
void OnTriggerEnter | ( | Collider | col | ) |
Server only: check for collectibles colliding with the zone. Possible collision are defined in the Physics Matrix.
ObjectSpawner requireObject |
Optional: Other Collectible, that needs to be at its spawn position for this zone to trigger a successful collection. One example would be for Capture The Flag, where the red flags needs to be at the red spawn, in order to successfully collect the blue flag.
AudioClip scoreClip |
Clip to play when a CollectibleTeam item is brought to this zone.
int teamIndex = 0 |
Team index this zone belongs to. Teams are defined in the GameManager script inspector.