Hi, I need to develop an Android animation system on which user can freely import different mp3 files outside the system as background music. My question is:
Is their some function in Unity to import mp3 file? I know how to import music file in Unity3D, but do not know how to find the corresponding function to write script to import music files from any directory.
You can load audio files with the WWW class. Just have a look at the Scripting Reference. However, if you are building a web player or a standalone you can not load mp3-files. Example (C#, not tested, taken from the Scripting Reference, should work):