Adding Boss Damage VFXs in Unity

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.

--

--

--

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

There are No Stupid Questions, Just Insecure Developers

5 CSS rules you might not know

Get Komoot tour data without API

HNGi8 Internship

This F**king Noise, You Know ¹

Managed IT Services in Merthyr Tydfil #Managed #IT #Services #Merthyr #Tydfil https://t.co/j0iaR2EwR

How to share links with proper OG tags in an Angular app or any other SPAs

Development Driven by Testing, What is that?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rusben Guzman

Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

More from Medium

Using Decals in Unity

Variables

WebGL Optimization in Unity

Adding Emissions to Custom Textures