Property | Type | Description | |
---|---|---|---|
healthBar | Slider, | ||
isDead | bool | ||
maxPlayerHealth | int | ||
playerHealth | int |
Method | Description | |
---|---|---|
FullHealth ( ) : void | ||
HurtPlayer ( int damageToGive ) : void | ||
healthRecovery ( int healthToRecover ) : void |
Method | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void |
public static HurtPlayer ( int damageToGive ) : void | ||
damageToGive | int | |
return | void |
public static healthRecovery ( int healthToRecover ) : void | ||
healthToRecover | int | |
return | void |