It looks like you're new here. If you want to get involved, click one of these buttons!
i had a question. i want to display particles when my character dies how can i do that. i used oncollisionenter destroy(gameobject) and i want that oncollision it displays that particle effect and how can you make a death effect by particles.
First of all dont comment on your own question first cuz others will find it answered and ignores that.
For the particle effect just make prefab of one reference it on player script then instantiate it when your player dies according to you.dont forget to use play on awake on particle system and the stoping action to destroy so after particle system is finished it wont bother anything.