Свойство | Type | Description | |
---|---|---|---|
currentHealth | float | ||
maxHealth | float | ||
worldSpaceHealthBar | Image |
Méthode | Description | |
---|---|---|
ActivateStun ( float duration ) : IEnumerator | ||
ApplyStatus ( statusEffects effect, float duration ) : void | ||
Awake ( ) : void | ||
Heal ( float healAmount ) : void | ||
KillUnit ( ) : void | ||
Start ( ) : void | ||
TakeDamage ( float damageTaken ) : void | ||
Update ( ) : void |
public ActivateStun ( float duration ) : IEnumerator | ||
duration | float | |
Résultat | IEnumerator |
public ApplyStatus ( statusEffects effect, float duration ) : void | ||
effect | statusEffects | |
duration | float | |
Résultat | void |
public TakeDamage ( float damageTaken ) : void | ||
damageTaken | float | |
Résultat | void |