Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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,386
    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