Third Person Cover Shooter  1.6
CoverShooter.Flashlight Class Reference

Turns on or off Unity's Light component. More...

Inheritance diagram for CoverShooter.Flashlight:
CoverShooter.Tool

Public Member Functions

override void ContinuousUse (CharacterMotor character, bool isAlternate)
 Method used every frame on the tool during the use animation. More...
 
- Public Member Functions inherited from CoverShooter.Tool
virtual void Use (CharacterMotor character, bool isAlternate)
 Method called during a specific moment in the use animation. More...
 

Properties

bool IsTurnedOn [get]
 Is the flashlight turned on. More...
 

Additional Inherited Members

- Public Attributes inherited from CoverShooter.Tool
bool HasAiming
 Signifies if a character needs to aim while using the tool. More...
 
bool IsContinuous
 Is the use animation continuous instead of a single action. More...
 
bool HasAlternateAiming
 Signifies if a character needs to aim while using the tool in alternate mode. More...
 
bool IsAlternateContinuous
 Is the alternate use animation continuous instead of a single action. More...
 

Detailed Description

Turns on or off Unity's Light component.

Member Function Documentation

◆ ContinuousUse()

override void CoverShooter.Flashlight.ContinuousUse ( CharacterMotor  character,
bool  isAlternate 
)
virtual

Method used every frame on the tool during the use animation.

Reimplemented from CoverShooter.Tool.

Property Documentation

◆ IsTurnedOn

bool CoverShooter.Flashlight.IsTurnedOn
get

Is the flashlight turned on.


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