UNITY: Particle System Auto Destroy

A small Unity component that will help clean up gameobjects that have particle systems. This is useful for anything that will automatically spawn particle objects and can be included in prefabs or attached while a particle system currently existing.


Link to Pastebin of code can be found here -> http://pastebin.com/zmpnq9Wx.