So I made it possible to export the audio to the documents folder of the game/app. The extension of the audio is MP3.
I tried using WWW:
WWW www = new WWW(MEEA.outputURL);
audio.clip = www.audioClip;
audio.Play();
But this crashed the game.
"MEEA.outputURL" gives the directory to the audio, (..../documents/audio.mp3)
Is there a way so Unity uses this audio file (in the documents folder) as an audiosource using U3DXT?
↧