Corgi Engine
v9.0
|
An event fired when something takes damage More...
Public Member Functions | |
MMDamageTakenEvent (Health affectedHealth, GameObject instigator, float currentHealth, float damageCaused, float previousHealth) | |
Initializes a new instance of the MoreMountains.CorgiEngine.MMDamageTakenEvent struct. More... | |
Static Public Member Functions | |
static void | Trigger (Health affectedHealth, GameObject instigator, float currentHealth, float damageCaused, float previousHealth) |
Public Attributes | |
Health | AffectedHealth |
GameObject | Instigator |
float | CurrentHealth |
float | DamageCaused |
float | PreviousHealth |
Static Public Attributes | |
static MMDamageTakenEvent | e |
An event fired when something takes damage
MoreMountains.CorgiEngine.MMDamageTakenEvent.MMDamageTakenEvent | ( | Health | affectedHealth, |
GameObject | instigator, | ||
float | currentHealth, | ||
float | damageCaused, | ||
float | previousHealth | ||
) |
Initializes a new instance of the MoreMountains.CorgiEngine.MMDamageTakenEvent struct.
affectedHealth | Affected Health. |
instigator | Instigator. |
currentHealth | Current health. |
damageCaused | Damage caused. |
previousHealth | Previous health. |
|
static |
Health MoreMountains.CorgiEngine.MMDamageTakenEvent.AffectedHealth |
float MoreMountains.CorgiEngine.MMDamageTakenEvent.CurrentHealth |
float MoreMountains.CorgiEngine.MMDamageTakenEvent.DamageCaused |
|
static |
GameObject MoreMountains.CorgiEngine.MMDamageTakenEvent.Instigator |
float MoreMountains.CorgiEngine.MMDamageTakenEvent.PreviousHealth |