Third Person Cover Shooter  1.6
CoverShooter.DarkZone Class Reference

Denotes a zone where objects have less visibility (decreases view distance for the AI). More...

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

Public Attributes

VisibilityType Type = VisibilityType.constant
 Type of visibility modification. More...
 
float DefaultValue = 4
 Value that's used depending on the visibility type. More...
 
float AlertValue = 10
 Value that's used depending on the visibility type. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CoverShooter.Zone< DarkZone >
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< DarkZone >
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 zone where objects have less visibility (decreases view distance for the AI).

Member Data Documentation

◆ AlertValue

float CoverShooter.DarkZone.AlertValue = 10

Value that's used depending on the visibility type.

Can be either a distance or a multiplier for the AI view distance.

◆ DefaultValue

float CoverShooter.DarkZone.DefaultValue = 4

Value that's used depending on the visibility type.

Can be either a distance or a multiplier for the AI view distance.

◆ Type

VisibilityType CoverShooter.DarkZone.Type = VisibilityType.constant

Type of visibility modification.

Choices are between a constant distance or a multiplier for the AI view distance.


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