playMaker

Author Topic: Multiple Audio Play [SOLVED]  (Read 1490 times)

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Multiple Audio Play [SOLVED]
« 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
« Last Edit: June 29, 2016, 03:51:20 AM by coxy17 »

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: Multiple Audio Play
« Reply #1 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.

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Re: Multiple Audio Play
« Reply #2 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