Die Effect

Hi. I have a basic game, the player dies and nothing interesting. To make it Interesting I was wondering of how to make a particle system appear after 0.1 seconds when the player dies. Like in GTA

  • Felipe

Create a particle system, tweak the parameters into something cool and drag it on the project pannel (or create the prefab separetely, whatev’). On your player, add a public variable to a GameObject, link it to the prefab, and when the player dies, instantiate it. For a delay, use coroutines.