Third Person Cover Shooter  1.6
CoverShooter.BaseBuff Class Referenceabstract

Base implementation for all buffs. More...

Inheritance diagram for CoverShooter.BaseBuff:
CoverShooter.ArmorBuff CoverShooter.DamageBuff CoverShooter.TempOutline CoverShooter.VisionBuff

Public Member Functions

void Launch ()
 Starts the buff and timer. More...
 

Public Attributes

float Duration = 1
 Duration of the buff. More...
 
bool Outline = false
 Should an outline be displayed during the buff. More...
 
Color OutlineColor = Color.white
 Color displayed on the outline. More...
 
bool AutoLaunch = false
 Should the buff be auto-launched on awake. More...
 

Protected Member Functions

virtual void Update ()
 
abstract void Begin ()
 Enable the buff. More...
 
abstract void End ()
 Disable the buff. More...
 

Detailed Description

Base implementation for all buffs.

Manages timed disable and outlines.

Member Function Documentation

◆ Begin()

abstract void CoverShooter.BaseBuff.Begin ( )
protectedpure virtual

◆ End()

abstract void CoverShooter.BaseBuff.End ( )
protectedpure virtual

◆ Launch()

void CoverShooter.BaseBuff.Launch ( )

Starts the buff and timer.

◆ Update()

virtual void CoverShooter.BaseBuff.Update ( )
protectedvirtual

Member Data Documentation

◆ AutoLaunch

bool CoverShooter.BaseBuff.AutoLaunch = false

Should the buff be auto-launched on awake.

◆ Duration

float CoverShooter.BaseBuff.Duration = 1

Duration of the buff.

◆ Outline

bool CoverShooter.BaseBuff.Outline = false

Should an outline be displayed during the buff.

◆ OutlineColor

Color CoverShooter.BaseBuff.OutlineColor = Color.white

Color displayed on the outline.


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