Third Person Cover Shooter
1.6
|
Denotes a target zone for the fleeing AI to run to. More...
Public Member Functions | |
void | Register (GameObject actor) |
Registers an actor to be removed by the zone. More... | |
void | Unregister (GameObject actor) |
Removes the actor from the removal list. More... | |
Public Attributes | |
float | RemoveDelay = 3 |
Time in seconds after an actor that reached the flee zone is removed from the game. More... | |
bool | IsRemovingByDestroying = true |
Are the actors removed from the game by destroying them. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from CoverShooter.Zone< FleeZone > | |
static T | Get (int index) |
Returns the zone at index. More... | |
static T | Get (GameObject gameObject) |
Returns the component to the attached object. More... | |
Properties inherited from CoverShooter.Zone< FleeZone > | |
float | Width [get] |
Width of the box. More... | |
float | Height [get] |
Height of the box. More... | |
float | Depth [get] |
Depth of the box. More... | |
float | Bottom [get] |
Y coordinate of the block's bottom in world space. More... | |
static IEnumerable< T > | All [get] |
Enumerates through all of the active zones. More... | |
static int | Count [get] |
Returns the number of zones. More... | |
Denotes a target zone for the fleeing AI to run to.
Either disables or destroys AI that reaches it.
void CoverShooter.FleeZone.Register | ( | GameObject | actor | ) |
Registers an actor to be removed by the zone.
void CoverShooter.FleeZone.Unregister | ( | GameObject | actor | ) |
Removes the actor from the removal list.
bool CoverShooter.FleeZone.IsRemovingByDestroying = true |
Are the actors removed from the game by destroying them.
If false, they are disabled.
float CoverShooter.FleeZone.RemoveDelay = 3 |
Time in seconds after an actor that reached the flee zone is removed from the game.