- Home /
ParticleSystem.Stop() method Deletes Object
So I am using the Shuriken Particle System and when I call the method Stop() on it, the entire game object is deleted. Is this normal behavior?
I thought the behavior should be like the old system, where I used to call ParticleEmitter.emit = false. And this would turn off any more particles from being emitted per frame.
But the Shuriken system doesn't seem to have the same functionality. All I want is to be able to turn off the Particle System from emitting any more particles, and then be able to turn it on again.
I have tried using Pause(), but that just pauses the particles; it does not stop them from being emitted. And I have tried using Stop(), but that just deletes the entire object; which is not what I am looking for.
Any help would be appreciated.
I think there is an auto destroy variable that could be causing this, but i am not quite sure.
Answer by lastprogrammer · Feb 22, 2013 at 01:45 AM
Ok, So I looked again at my particle system and there was a third party monobehavior attached to the game object that was deleting the object after the particles stop. Removing this monobehavior lets the particle system behave normally.
Thanks everyone!
Your answer

Follow this Question
Related Questions
Shuriken Particles in Web Player 0 Answers
How can I create a particle 'vortex' or implosion using Shuriken? 2 Answers
Shuriken Particles Max Numbers 1 Answer
Shuriken Particles Error / Bug 0 Answers