Third Person Cover Shooter  1.6
CoverShooter.Melee Class Reference
Inheritance diagram for CoverShooter.Melee:
CoverShooter.BaseMelee

Public Member Functions

override bool Request ()
 Return true if an attack can be started. More...
 
override void Begin ()
 Start the attack. More...
 
override void End ()
 End the attack. More...
 
override void BeginScan ()
 Start scanning for hits during the attack. More...
 
override void EndScan ()
 Stop scanning for hits during the attack. More...
 
override void Moment ()
 Notify all listeners of a melee moment. More...
 

Public Attributes

float Damage = 20
 Damage done by a melee attack. More...
 
float Cooldown = 0.5f
 Time in seconds for to wait for another melee hit. More...
 
float DamageResponseWaitTime = 0
 Time in seconds between hits that the character will respond to with hurt animations. More...
 
- Public Attributes inherited from CoverShooter.BaseMelee
WeaponType Type = WeaponType.Fist
 Animations and related assets to be used with this weapon. More...
 
CharacterMotor Character
 Owning object with a CharacterMotor component. More...
 

Member Function Documentation

◆ Begin()

override void CoverShooter.Melee.Begin ( )
virtual

Start the attack.

Implements CoverShooter.BaseMelee.

◆ BeginScan()

override void CoverShooter.Melee.BeginScan ( )
virtual

Start scanning for hits during the attack.

Implements CoverShooter.BaseMelee.

◆ End()

override void CoverShooter.Melee.End ( )
virtual

End the attack.

Implements CoverShooter.BaseMelee.

◆ EndScan()

override void CoverShooter.Melee.EndScan ( )
virtual

Stop scanning for hits during the attack.

Implements CoverShooter.BaseMelee.

◆ Moment()

override void CoverShooter.Melee.Moment ( )
virtual

Notify all listeners of a melee moment.

Implements CoverShooter.BaseMelee.

◆ Request()

override bool CoverShooter.Melee.Request ( )
virtual

Return true if an attack can be started.

Implements CoverShooter.BaseMelee.

Member Data Documentation

◆ Cooldown

float CoverShooter.Melee.Cooldown = 0.5f

Time in seconds for to wait for another melee hit.

◆ Damage

float CoverShooter.Melee.Damage = 20

Damage done by a melee attack.

◆ DamageResponseWaitTime

float CoverShooter.Melee.DamageResponseWaitTime = 0

Time in seconds between hits that the character will respond to with hurt animations.


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