Свойство | Тип | Описание | |
---|---|---|---|
alreadyDying | bool | ||
deathDelay | float | ||
heart1 | GameObject | ||
heart2 | GameObject | ||
heart3 | GameObject | ||
invincibilityCooldown | float | ||
playerDead | bool | ||
playerHealth | float | ||
plusJumpForce | float |
Метод | Описание | |
---|---|---|
Hurt ( int damage, GameObject dmgObj ) : void | ||
StartDeath ( ) : void |
Метод | Описание | |
---|---|---|
FixedUpdate ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Метод | Описание | |
---|---|---|
AdjustHealthUI ( float health ) : void | ||
DisplayGameOverScreen ( ) : void | ||
invincibiltyReset ( ) : void |
public Hurt ( int damage, GameObject dmgObj ) : void | ||
damage | int | |
dmgObj | GameObject | |
Результат | void |