- Home /
autodesrtuct property of particle system in 3.5.0f5
I was going through online video tutorial. In this tutorial, @5:40 he sets the autodestruct property of a particle system prefab.
I think the tutor used older version of unity, and I am unable to figure out where to set that property in the 3.5.0f5. Can any one help me in this regard?
Answer by yusufulutas · Apr 20, 2012 at 11:24 AM
yes, the tutor used older version of unity.Unfortunately new particle system don't have auto destruction but if you close looping,your particle becomes disable.
Answer by citizen_rafiq · Oct 27, 2012 at 12:28 AM
1.unchecked looping from particle system editor 2.create a transform variable in your script as public(example explosionTrans)and set your particle object from editor. 3.now in your update method explosionTrans.particleSystem.transform.position=this.transform.position; explosionTrans.particleSystem.Play();
Your answer
Follow this Question
Related Questions
using Contains(gameObject) to find and destroy a gameObject from a list 2 Answers
How to destroy / hide a single particle? 2 Answers
Particle System lifetime not affecting particles 0 Answers
Trying to make a dust particle when the the player moves 1 Answer
Trouble with destroying a particle. 1 Answer