How can I rapidly trigger the same particle system?
For my mobile game, I have a character that can blast through a bunch of circles.
When you collide with a circle, it's supposed to "pop" with an effect. To avoid creating particle system objects at all these circles, I have ONE "pop" effect on my player and would like to trigger it on impact with a circle.
The problem I am having is that you can potentially hit many circles in quick succession, and the particle system wont trigger for each collision because it hasnt finish "playing" the last time (even though the pop effect is quick).
How can I get around this?
use more then 1 effect component and play those that not busy.
Interesting. How can I check to see if a particle system is busy? That way I can ask it to select another one.
there must be some method to do check if particle system "isplaying" now or something similar, look at partycle system script reference.
Answer by DroidifyDevs · Apr 02, 2016 at 01:20 PM
For that you might have to create multiple particle systems and delete them when they are done playing.
Answer by frogwise · Apr 02, 2016 at 06:54 PM
I thought creating/deleting objects at runtime especially on mobile is extremely expensive? My goal here is to have 1 reusable particle system that just gets triggered on every Collision