1. Add EnemyHealth

Add EnemyHealth to the enemy root GameObject (the same object that has EnemyController).

The health bar in the enemy HUD subscribes to EnemyHealth automatically — no manual event wiring is needed. See Health.

2. (Optional) Add ItemDropper

If the enemy should drop a pickup on death, add ItemDropper to the enemy root.

See ItemDropper.

3. Set up the Enemy HUD

The enemy HUD lives in a world-space Canvas child of the enemy GameObject. It is built from up to four components:

See Enemy HUD for field details.

ℹ️
EnemyController.Initialize() runs at level start and handles all subscriptions automatically. You only need to fill in the Inspector fields described above — no code changes are required for a standard enemy setup.