how to make particle system destroy after done unity code example
Example: c# delete particle system after finished
Destroy(gameObject, GetComponent<ParticleSystem>().startLifetime);
Destroy(gameObject, GetComponent<ParticleSystem>().startLifetime);