How do I force though script the loaded audio to be set as 2D sound?
I'm trying try load in our music file to play in the background. When loading from WWW source I can't seem to find the option to set the audio as a 2D sound, it is intended to be an Omni sound but ends up being a 3D sound.
I know this question is a bit old, but I want to update the answer to be the correct answer.
The answer from XTNZ and SREN are both not ideal because the audio clip doesn’t sound as good as if it was a 2D sound. For example 5.1 audio will sound muffled if you play it back as 3D sound with panelLevel at 0.
The correct way of doing it is using the fuction WWW.GetAudioClip with 3D sound parameter set to false.
Please review the docs here