- Home /
Question by
firenin · May 07, 2019 at 12:58 AM ·
particlesystemparticle systemparticle emitter
I want Particle System don't quit any situation.
Hello.
I make mesh by realtime. And my shape module of particle system setting is below.
Shape : Mesh Renderer Type : Edge Mesh : None ( But, this is changed at realtime.)
I want to don't stop or pause although mesh of shape module mesh changed.
How can i do?
Sorry to poor english.
00.png
(11.0 kB)
Comment
Answer by K-Anator · May 07, 2019 at 04:10 AM
https://docs.unity3d.com/ScriptReference/ParticleSystemRenderer.html
GetComponent().GetComponent().mesh = mymesh;
From: https://answers.unity.com/questions/1077589/how-do-change-particle-system-mesh-via-script.html