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

Used to define damage immunity in character health. More...

Public Member Functions

 DamageImmunity ()
 Initializes a new instance of the PlatformerPro.DamageImmunity class. More...
 
 DamageImmunity (DamageImmunity original)
 Initializes a new instance of the PlatformerPro.DamageImmunity class by cloning an existing instance. More...
 

Public Attributes

DamageType damageType
 
float immunity
 

Detailed Description

Used to define damage immunity in character health.

Constructor & Destructor Documentation

◆ DamageImmunity() [1/2]

PlatformerPro.DamageImmunity.DamageImmunity ( )

Initializes a new instance of the PlatformerPro.DamageImmunity class.

◆ DamageImmunity() [2/2]

PlatformerPro.DamageImmunity.DamageImmunity ( DamageImmunity  original)

Initializes a new instance of the PlatformerPro.DamageImmunity class by cloning an existing instance.

Parameters
originalObject to clone..

Member Data Documentation

◆ damageType

DamageType PlatformerPro.DamageImmunity.damageType

◆ immunity

float PlatformerPro.DamageImmunity.immunity

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