- Home /
Question by
Dan the Man · Oct 16, 2012 at 05:35 PM ·
particle systemshuriken
Changing sub emitter via script?
I have a particle system, and I need to dynamically change its collision sub emitter via script. I can't seem to find a solution. Is this possible?
Comment
Best Answer
Answer by AeonIxion · Oct 19, 2012 at 12:15 PM
When you make a new colission subEmitter in the particle system inspector, it should appear as a child of your gameObject. So you could make public ParticleSystem variable in your script and then attach the new Subemitter child to it.