How to stop and clear all existing particles?

6877169--803171--upload_2021-2-25_20-19-58.png

I am trying to achieve what this button does. It simply stops the VFX graph and removes all particles. Stop() function stops the graph however I couldn’t find a way to clear all particles. Any help?

In case anyone else wonders, I’ve decided to disable the game object holding it.

If anyone is wondering how you can do it via C# code; It’s the method Reinit()

1 Like