Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: coxy17 on June 29, 2016, 03:13:45 AM

Title: Multiple Audio Play [SOLVED]
Post by: coxy17 on June 29, 2016, 03:13:45 AM
Hi

I am using the audio play and have all my audio setup on one game object so i can manage them in one place. I thought it was ok to do this but found that i need to use audio stop for one of them. But i cant target one audio to stop, instead of all of them stop. I get why as they are all on one gameobject, but have i got to have one game object per audio file? is that the best way?

Nick
Title: Re: Multiple Audio Play
Post by: 600 on June 29, 2016, 03:42:20 AM
I use a group of empty game objects for different sounds, one audio source on each. Some are playing various sounds that match settings like looping/once/distance.
Title: Re: Multiple Audio Play
Post by: coxy17 on June 29, 2016, 03:50:49 AM
ok thanks, ill do this then, i have never used audio before and assumed that i could have them all on one gameobject.

Thanks