Search Unity

How to destroy particles created with Emit method?

Discussion in 'Editor & General Support' started by vegenarie, Sep 5, 2015.

  1. vegenarie

    vegenarie

    Joined:
    Jan 5, 2011
    Posts:
    287
    I am using the Emit method of the shuriken particle system to create single particles, and it works fine, but i want to choose when destroy them and i am trying the Clear method but it does not work, and either the stop method.
     
  2. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,532
    Can you post what you've tried with Clear()?
     
  3. vegenarie

    vegenarie

    Joined:
    Jan 5, 2011
    Posts:
    287
    i am trying a different approach now, not using particles, just want to know if clear should clear the particles emitted by the Emit method or not, if not it must be an error in my code logic