Third Person Cover Shooter  1.6
CoverShooter.ActorHUD Class Reference

Manages and instantiates health bars and arrows for enemies. More...

Inheritance diagram for CoverShooter.ActorHUD:

Public Attributes

RectTransform HealthPrototype
 Prototype of a health bar to be shown on any visible actor. More...
 
RectTransform ArrowPrototype
 Prototype of an arrow to be shown for any active actor that is away. More...
 
Actor Player
 Player that is used to determine allies and enemies. More...
 
float ArrowDistance = 14
 Maximum distance of out of screen objects that have arrows pointing to them. More...
 
bool ShowOnPlayer = true
 
bool ShowOnAllies = true
 
bool ShowOnEnemies = true
 
Vector2 Offset = new Vector2(0, 0.1f)
 Offset of the health bar relative to the screen height. More...
 

Detailed Description

Manages and instantiates health bars and arrows for enemies.

Member Data Documentation

◆ ArrowDistance

float CoverShooter.ActorHUD.ArrowDistance = 14

Maximum distance of out of screen objects that have arrows pointing to them.

◆ ArrowPrototype

RectTransform CoverShooter.ActorHUD.ArrowPrototype

Prototype of an arrow to be shown for any active actor that is away.

◆ HealthPrototype

RectTransform CoverShooter.ActorHUD.HealthPrototype

Prototype of a health bar to be shown on any visible actor.

◆ Offset

Vector2 CoverShooter.ActorHUD.Offset = new Vector2(0, 0.1f)

Offset of the health bar relative to the screen height.

◆ Player

Actor CoverShooter.ActorHUD.Player

Player that is used to determine allies and enemies.

◆ ShowOnAllies

bool CoverShooter.ActorHUD.ShowOnAllies = true

◆ ShowOnEnemies

bool CoverShooter.ActorHUD.ShowOnEnemies = true

◆ ShowOnPlayer

bool CoverShooter.ActorHUD.ShowOnPlayer = true

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