let player import music during game?

is there any easy way (drag/drop) for the player to bring sound files in while the game runs?
so I’m not looking for the Resources folder where he could drop a file.
more of a kind of GUI slot where he could drop a file or browse for a file.

thx
J.

2 Answers

2

Drag/Drop isn’t supported in Unity. That said, you could have the user drop music into a folder on their computer, and use WWW.GetAudioClip to play from there. Hope this helps! -Gibson

Converted to answer, because that's what it is. And it's what I linked to half an hour ago.

thx for the answers, is a browse pop up in unity GUI possible for this?

Yeah, you can make a folder browser by using System.IO. It would probably be easiest to use System.IO.Directory.GetDirectories.