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