Particle system show up when gameobject gets destroyed

hey everybody , please help me with this issue , what i want is ,when a gameobject (called “box”) gets destroyed , i want a particle system to show up and play an animation called ‘boxcrash’. please help guys Thanks.

1 Answer

1

Initially you want to create your particle affect to however you want it and then turn it into a prefab.

Then in the same piece of code you destroy it in you can do INSTANTIATE on the particle system!

thanks for the reply ,the problem is i didn't create any destroy code yet :/

–