Hi guys,
I’ve tried many times but the result is the same.
I’m reading song from the Documents folder.
the song begins to play.
but the second time I try to read, the program closes yourself.
my code:
WWW musicLoader;
IEnumerator audioClipLoad(string link){
musicLoader = new WWW (link);
yield return musicLoader;
myAudio.clip = musicLoader.audioClip;
myAudio.Play();
}
Is there any other way to the WWW class?