Adding Boss Damage VFXs in Unity
Showing the enemy damage to the player during the fight.
Sep 15, 2021
Objective: Add a VFXs when the player hits the boss.
First I opened the Boss prefab and added 2 child objects. Those objects are the same damage VFX that the player has when receiving damage. So in this case those objects have to be disabled at the beginning.
In the Boss script I activate each object in each case of the switch that means it’s gonna show the damage on each phase of the boss fight.
And that’s it!!! We can see the boss damage during the battle.