Property | Type | Description | |
---|---|---|---|
health | float | ||
healthBar | Image | ||
hurtSound | |||
invincibilityTime | float | ||
invincible | bool | ||
maxHealth | float | ||
minHealth | float | ||
possibleMaxHealth | float |
Method | Description | |
---|---|---|
Invincibility ( ) : void | ||
InvincibilityCo ( ) : IEnumerator | ||
Start ( ) : void | ||
Update ( ) : void | ||
addHealth ( float healthToAdd ) : void | ||
addMaxHealth ( float maxHealthToAdd ) : void | ||
destroyObject ( ) : void | ||
removeHealth ( float healthToRemove ) : void | ||
removeMaxHealth ( float maxHealthToRemove ) : void |
public addHealth ( float healthToAdd ) : void | ||
healthToAdd | float | |
return | void |
public addMaxHealth ( float maxHealthToAdd ) : void | ||
maxHealthToAdd | float | |
return | void |
public removeHealth ( float healthToRemove ) : void | ||
healthToRemove | float | |
return | void |
public removeMaxHealth ( float maxHealthToRemove ) : void | ||
maxHealthToRemove | float | |
return | void |
public StudioEventEmitter,FMODUnity hurtSound | ||
return |