|
Hi,
What i mean is if you program in a text field function and a button to search your directory on your hard drive for videos and images, would they show up dynamically in the standalone application when i try to search for a file? If so, can i get an idea of how this might be done? I know that this can be done on the server side of things, but the client i am working for wants to search for all his files on his hard drive. I know if i try to use resource.load(), it won't work since it has to be within the the unity assets directory. Ok thank! So can all this be done on the Iphone using xcode?
(comments are locked)
|
|
you can use http://System.IO for searching in directories and you can load video(ogg format) and images(png) using WWW class in unity. The only thing you should do is pass your file path like this :
see WWW class reference in docs Ok thanks! So can all this be done on the Iphone using xcode?
Apr 19 '11 at 04:50 AM
dreal
I don't have the iphone version, but it should work with iphone too.
Apr 19 '11 at 05:30 PM
AliAzin
(comments are locked)
|
|
Hi, For text files I do like this: Ok thank! So can all this be done on the Iphone using xcode?
Apr 19 '11 at 04:46 AM
dreal
Well... I have never develop Unity for iPhone but I think it should work. And about Xcode, it is only a tool, what matter is what you write in there ;)
Apr 19 '11 at 08:07 AM
Uzquiano
(comments are locked)
|
|
You need to use file:///c:/.... to let this file protocol work....3 slashes
(comments are locked)
|
