Hi there!
I'm creating several game objects and adding Audio Sources to them at run time and need to set up a few parameters like "Set Audio Clip" and "Set Audio Loop" at the same time. Additionally, I need to set the Audio Mixer Group and bypass the various effects in some cases but I haven't found any actions which set these properties.
For some odd reason, the Store Component field on my "Add Component" action won't allow me to input an object variable - it just shows "None" in the drop down with no option to create a variable. I imagine I could use this object variable in the Set Property action to the define audio source properties but after trying with a different object variable, I was only able to set the object's name.
Since there are already a few "SetAudio___" actions, I was trying to modify them to change the other parameters but I haven't had any luck with that yet.
I would really appreciate it if someone could give me a hand with this or point me in the right direction on where I might be able to learn more about how this could be done.
Thanks