- Home /
Answer by Jesus_Freak · Dec 12, 2010 at 02:56 PM
make a new script and say
function Update()
{
if(gameObject.particleEmitter.emit)
{
audio.Play();
}
}
and that should work for every frame your lightning particles are emitting... please help me by telling me anything missing, or anything else you might need for this to work if it isn't!
hope that works for you!
Hey Jesus_Freak, is there a way to do this with the new ParticleSystem?
Check this for the new ParticleSystem: http://answers.unity3d.com/questions/693044/play-sound-on-particle-emit-sub-emitter.html
Your answer
Follow this Question
Related Questions
5.1 Channels is backwards in unity (non 3D) 0 Answers
How to loop a sound clip on a ButtonDown function 1 Answer
Need help making an audio trigger. 2 Answers
Audio files not playing at all 4 Answers
footstep sound 1 Answer