# EnemyHealth

* <mark style="color:$info;">maxHealth</mark>: Initial & Maximum Health
* <mark style="color:$info;">maxShield</mark>: Initial & Maximum Shield
* <mark style="color:$info;">healthSlider</mark>: UI Element to display health.
* <mark style="color:$info;">shieldSlider</mark>: UI Elements to display shield.
* <mark style="color:$info;">deathVFX</mark>: Visual effect instantiated on death.
* <mark style="color:$info;">flashesOnDamage</mark>: Set to true if you want the player to blink/flash on hit.
* <mark style="color:$info;">flashDuration</mark>: How long the effect is played.
* <mark style="color:$info;">flashSpeed</mark>: How fast the effect is played.
* <mark style="color:$info;">graphics</mark>: Array that contains all the Renderers that will blink on  \
  damage. These must have the Blink material assigned. For 2D Games, assign sprite renderers. For 2.5D games, assign MeshRenderers.

Learn more about Adding Enemies in [adding-enemies](https://cowsinss-organization.gitbook.io/platformer-documentation/how-to-use/adding-enemies "mention").
