Topic: Particle unlimited time or pause

Hi again, i'm working with a character that turns into a dog in some moves... so i spawn a prefab of the DOG during my character move with the particle section, it faces right or left acordingly, but as my attack hits, the pause time makes the prefab of my dog get out of sinc, as it isn't affected by the hitpause, so my question is, is there a way to make a prefab created in the particle section be affected by the hit pause, or maybe make it last as long as the move where it was spawned is still in action?

thanks!

Me encontraste en un negro camino como un peregrino sin rumbo ni fe, pero la luz de tus ojos divinos cambió mi suerte por dicha y placer.

Re: Particle unlimited time or pause

Unity has a function to pause the particle simulation

In theory, it shouldn't be hard to just mod this into the code.  Just keep a reference to particles currently instantiated and then call Pause() on them when HitPause happens.  Don't forget to Play() again once HitPause is finished.

I'll admit I haven't tried to mod this in yet, so there could be some other roadblocks...

Share

Thumbs up +1 Thumbs down