Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.ExtraDamageInfoEventArgs Class Reference

Damage info event arguments which also includes an attakc name on top of the damage type. More...

Inheritance diagram for PlatformerPro.ExtraDamageInfoEventArgs:
PlatformerPro.DamageInfoEventArgs

Public Member Functions

 ExtraDamageInfoEventArgs ()
 Initializes a new instance of the PlatformerPro.ExtraDamageInfoEventArgs class. More...
 
 ExtraDamageInfoEventArgs (DamageInfo damageInfo)
 Initializes a new instance of the PlatformerPro.ExtraDamageInfoEventArgs class. More...
 
void UpdateDamageInfoEventArgs (DamageInfo damageInfo, string attackName)
 Initializes a new instance of the PlatformerPro.ExtraDamageInfoEventArgs class. More...
 
override string ToString ()
 
- Public Member Functions inherited from PlatformerPro.DamageInfoEventArgs
 DamageInfoEventArgs ()
 Initializes a new instance of the PlatformerPro.DamageInfoEventArgs class. More...
 
 DamageInfoEventArgs (DamageInfo damageInfo)
 Initializes a new instance of the PlatformerPro.DamageInfoEventArgs class. More...
 
virtual void UpdateDamageInfoEventArgs (DamageInfo damageInfo)
 Updates the damage info event arguments. More...
 
override string ToString ()
 

Properties

string AttackName [get, protected set]
 Extra info. The name of the attack. More...
 
- Properties inherited from PlatformerPro.DamageInfoEventArgs
DamageInfo DamageInfo [get, protected set]
 Gets the damage info. More...
 

Detailed Description

Damage info event arguments which also includes an attakc name on top of the damage type.

Constructor & Destructor Documentation

◆ ExtraDamageInfoEventArgs() [1/2]

PlatformerPro.ExtraDamageInfoEventArgs.ExtraDamageInfoEventArgs ( )

Initializes a new instance of the PlatformerPro.ExtraDamageInfoEventArgs class.

◆ ExtraDamageInfoEventArgs() [2/2]

PlatformerPro.ExtraDamageInfoEventArgs.ExtraDamageInfoEventArgs ( DamageInfo  damageInfo)

Initializes a new instance of the PlatformerPro.ExtraDamageInfoEventArgs class.

Parameters
damageInfoDamage info.

Member Function Documentation

◆ ToString()

override string PlatformerPro.ExtraDamageInfoEventArgs.ToString ( )

◆ UpdateDamageInfoEventArgs()

void PlatformerPro.ExtraDamageInfoEventArgs.UpdateDamageInfoEventArgs ( DamageInfo  damageInfo,
string  attackName 
)

Initializes a new instance of the PlatformerPro.ExtraDamageInfoEventArgs class.

Parameters
damageInfoDamage info.

Property Documentation

◆ AttackName

string PlatformerPro.ExtraDamageInfoEventArgs.AttackName
getprotected set

Extra info. The name of the attack.


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