Third Person Cover Shooter  1.6
CoverShooter.GrassZone Class Reference

Denotes an area with grass. More...

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

Public Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from CoverShooter.Zone< GrassZone >
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< GrassZone >
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 an area with grass.

Adjusts the AI visiblity when looking at objects inside it.

Member Data Documentation

◆ AlertValue

float CoverShooter.GrassZone.AlertValue = 6

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.GrassZone.DefaultValue = 1

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