[Edit - please skip all the way down to the next post. I rewrote my question to be more clear. Thank you.]
I am trying to adjust the volume of a looping audio clip during the game. I think I'm doing things correctly... but it is not working. Maybe I am overlooking something? Here is how I set it up:
I have a game object, called MusicPlayer, with an audio source. It has the following actions:
1) Set Audio Clip
2) Set Audio Loop (I have loop checked)
3) Audio Play (Game Object is Owner), Volume is 1
A different FSM sends the following:
4.) Set Audio Volume (I specify game object as MusicPlayer)
No matter what I set the Set Audio Volume at... it has no effect. It continues to play and loop at full volume.
Any thoughts are appreciated.
Thank you,
createasaurus
[Update] When I use "one shot play" within Audio Play, it works... but, I need it to loop... so I don't think I can use one shot? The funny thing is, when I read the program notes in Audio Play, it says that volume cannot be adjusted when using one shot. However, the exact opposite seems to be happening to me. I am able to adjust volume with one shot, yet I am not able to adjust volume with standard Audio Play. Thoughts? Thank you.