So I know I’ll prob. have to use .NET for this. But essentially, I want to be able to browse, or at least, get the names of all files in a the documents folder in an iPad or iPhone. I know you can test to see if a specific file exists, but I need to see all files in a folder.
Anyone know a specific function I should look into?
System.IO.GetFiles(). If you want a browser check this out. Although it works as-is on the iPhone, it’s not ideal that way since it’s using a desktop interface, but at least it gets you most of the way there.
How about how ipad and iphone store music. IS there an easy way to access that.
Im interested in being able to let the player select their own music if wanted…
Sadly, if you’re using Unity 3 beta they removed ALL of the System.IO assembly. While it’s still present in then Mono library, the Unity linker gives an error making you incapable of building.
Sadly, if you’re using Unity 3 beta they removed ALL of the System.IO assembly. While it’s still present in then Mono library, the Unity linker gives an error making you incapable of building.
Its the beta so problems are to be expected especially with the major move from mono 1.2.5 to mono 2.6
it will require a lot of balancing and work till the supported stuff vs output size optimization reaches the old one.
one thing to though always check is that you use the full .net 2.0 assembly, not the subset, cause subset is kind of comparable to 1.1 + mscorlib stripping (all thats not deep core and/or basic is gone.)
Yes but it requires writing an iOS plugin. I managed to accomplish accessing the iOS music library and since many others are also asking for something similar I published it. Happy to answer any questions