Search Unity

How to stop and clear all existing particles?

Discussion in 'Visual Effect Graph' started by Luemus, Feb 25, 2021.

  1. Luemus

    Luemus

    Joined:
    May 20, 2013
    Posts:
    107
    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?
     
  2. Luemus

    Luemus

    Joined:
    May 20, 2013
    Posts:
    107
    In case anyone else wonders, I've decided to disable the game object holding it.
     
  3. Knose1

    Knose1

    Joined:
    Dec 17, 2019
    Posts:
    2
    Sthuarty likes this.