Unitips : Destroy Particles (clones)


It's just my way to do or what i found on forums

If you have a better or easier way to do it, i will very enjoy to know it ;)

1 - When the Player die, clone of particles is created in the hierachy. It's stay and rising each time the player die


2 - I find on the Unity forum the solution


3 - So i try and it's work (thanks the forum)

Player Die :

Destroy(Instantiate(dzRed.gameObject, transform.position, Quaternion.identity), 1f);

Player Spawn :

Destroy(Instantiate(psParticles.gameObject, transform.position, Quaternion.identity), 1f);

Leave a comment

Log in with itch.io to leave a comment.