Свойство | Type | Description | |
---|---|---|---|
alreadyDying | bool | ||
deathDelay | float | ||
heart1 | GameObject | ||
heart2 | GameObject | ||
heart3 | GameObject | ||
invincibilityCooldown | float | ||
playerDead | bool | ||
playerHealth | float | ||
plusJumpForce | float |
Méthode | Description | |
---|---|---|
Hurt ( int damage, GameObject dmgObj ) : void | ||
StartDeath ( ) : void |
Méthode | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
AdjustHealthUI ( float health ) : void | ||
DisplayGameOverScreen ( ) : void | ||
invincibiltyReset ( ) : void |
public Hurt ( int damage, GameObject dmgObj ) : void | ||
damage | int | |
dmgObj | GameObject | |
Résultat | void |