Muzzle flash shooting particle system

sneekyo

Member
I've noticed when I set the muzzle flash to a particle system, when I shoot, then switch weapons, then switch back, it will play the muzzle flash while transitioning.
Is there any way around this?
 

ChristianWiele

Moderator
Staff member
Have you assigned the MuzzleFlash component to your particle system game object? This handles the lifecycle, plays the particle system, and destroys the game object after the muzzle flash has reach end of life.
 

sneekyo

Member
I have but in this case it plays like 4 particle systems at once, under a parent object "muzzle flash" I tried attaching the script to all of them but that caused nothing to play.
 
Top