Third Person Cover Shooter  1.6
CoverShooter.Zone< T > Class Template Reference

Denotes a trigger zone area. More...

Inheritance diagram for CoverShooter.Zone< T >:

Static Public Member Functions

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

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 trigger zone area.

Type Constraints
T :MonoBehaviour 

Member Function Documentation

◆ Get() [1/2]

static T CoverShooter.Zone< T >.Get ( int  index)
static

Returns the zone at index.

Use Count to get the number of zones.

◆ Get() [2/2]

static T CoverShooter.Zone< T >.Get ( GameObject  gameObject)
static

Returns the component to the attached object.

Property Documentation

◆ All

IEnumerable<T> CoverShooter.Zone< T >.All
staticget

Enumerates through all of the active zones.

◆ Bottom

float CoverShooter.Zone< T >.Bottom
get

Y coordinate of the block's bottom in world space.

◆ Count

int CoverShooter.Zone< T >.Count
staticget

Returns the number of zones.

◆ Depth

float CoverShooter.Zone< T >.Depth
get

Depth of the box.

◆ Height

float CoverShooter.Zone< T >.Height
get

Height of the box.

◆ Width

float CoverShooter.Zone< T >.Width
get

Width of the box.


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