Third Person Cover Shooter  1.6
CoverShooter.FleeZone Class Reference

Denotes a target zone for the fleeing AI to run to. More...

Inheritance diagram for CoverShooter.FleeZone:
CoverShooter.Zone< FleeZone >

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...
 

Detailed Description

Denotes a target zone for the fleeing AI to run to.

Either disables or destroys AI that reaches it.

Member Function Documentation

◆ Register()

void CoverShooter.FleeZone.Register ( GameObject  actor)

Registers an actor to be removed by the zone.

◆ Unregister()

void CoverShooter.FleeZone.Unregister ( GameObject  actor)

Removes the actor from the removal list.

Member Data Documentation

◆ IsRemovingByDestroying

bool CoverShooter.FleeZone.IsRemovingByDestroying = true

Are the actors removed from the game by destroying them.

If false, they are disabled.

◆ RemoveDelay

float CoverShooter.FleeZone.RemoveDelay = 3

Time in seconds after an actor that reached the flee zone is removed from the game.


The documentation for this class was generated from the following file: