Should you instantiate new particle systems or keep them active inside gameobjects?
Scenario: my players plane has many guns and when they fire they will each activate their own particle systems. Should I have these particle systems always under the gun gameobject ready to start or should I instantiate a new particle system when I need one (in code)... which is better for performance?
Answer by ifurkend · Oct 21, 2017 at 03:35 PM
Definitely latter, not to mention that ParticleSystem.Stop() by default doesn't kill emitted particles. Sadly the reason instantiation is often avoided because Unity may fail to free the memory even after the object is destroyed.
Your answer
Follow this Question
Related Questions
changing the radius of a particle system with unity script 1 Answer
[Unity 5.5] How can I set the properties for the ParticleSystem.main by script? 0 Answers
No works vfx tests 0 Answers
Sprite Maske and trails/particles? 1 Answer
How to pass a particle that has child particles to a particle variable? 0 Answers