Third Person Cover Shooter  1.6
CoverShooter.CharacterOutline Class Reference

Displays an outline around the character mesh. More...

Inheritance diagram for CoverShooter.CharacterOutline:

Public Member Functions

void PushColor (Object pusher, Color value)
 Sets a color for the outline. More...
 
void PopColor (Object pusher)
 Removes the color pushed by the given object. More...
 

Public Attributes

Color DefaultColor = Color.yellow
 Default color of the outline, if no outside component has affected it. More...
 
bool DisplayDefault = true
 Will the outline be displayed if no other outside component has affected it. More...
 
float Width = 0.1f
 Outline size is dependant on the screen size as a fraction of it. More...
 

Detailed Description

Displays an outline around the character mesh.

Member Function Documentation

◆ PopColor()

void CoverShooter.CharacterOutline.PopColor ( Object  pusher)

Removes the color pushed by the given object.

◆ PushColor()

void CoverShooter.CharacterOutline.PushColor ( Object  pusher,
Color  value 
)

Sets a color for the outline.

Remembers who pushed the color so that it can be undone and the previous color set.

Member Data Documentation

◆ DefaultColor

Color CoverShooter.CharacterOutline.DefaultColor = Color.yellow

Default color of the outline, if no outside component has affected it.

◆ DisplayDefault

bool CoverShooter.CharacterOutline.DisplayDefault = true

Will the outline be displayed if no other outside component has affected it.

◆ Width

float CoverShooter.CharacterOutline.Width = 0.1f

Outline size is dependant on the screen size as a fraction of it.


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