c# delete particle system after finished code example
Example: c# delete particle system after finished
Destroy(gameObject, GetComponent<ParticleSystem>().startLifetime);
Destroy(gameObject, GetComponent<ParticleSystem>().startLifetime);