Свойство | Type | Description | |
---|---|---|---|
health | float | ||
healthBar | Image | ||
hurtSound | |||
invincibilityTime | float | ||
invincible | bool | ||
maxHealth | float | ||
minHealth | float | ||
possibleMaxHealth | float |
Méthode | 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 | |
Résultat | void |
public addMaxHealth ( float maxHealthToAdd ) : void | ||
maxHealthToAdd | float | |
Résultat | void |
public removeHealth ( float healthToRemove ) : void | ||
healthToRemove | float | |
Résultat | void |
public removeMaxHealth ( float maxHealthToRemove ) : void | ||
maxHealthToRemove | float | |
Résultat | void |
public StudioEventEmitter,FMODUnity hurtSound | ||
Résultat |