Is there a simple way to turn of all particle system?


I would like to add an option to turn off all particle effect on my game for those with slower hardware. The only way I could think of doing this would be to add a boolean to all objects with a particle system, and have it check every time before it plays. But I was wondering if there is a simpler way of doing this?


You can have a static Boolean that all the particle systems check, rather then a boolean per object, which would be a bit simpler.

You could also use Unity - Scripting API: Object.FindObjectsOfType to find all your particle systems and disable or enable them. If you are going to do that very often, you want to find them once and then cache the list because such searches are quite expensive.