How to play audio using filename dynamically

Hi All,

I want to play audio dynamically.Suppose user select one file name,i have to play that audio.

How to play audio using filename dynamically

Thanks

If you mean an arbitrary filename somewhere on the user’s hard drive, you can access it using the WWW class using a file:// URL. However, Unity can only load Ogg Vorbis files this way.