|
Hi, Is it possible to create a file upload input box within unity? I know it is possible to upload files using unity using the www class functions but I can't find anything for selecting a file from a local machine to then upload. Thanks, eb_dev
(comments are locked)
|
|
You can question all files and folders trough the following code:
Then get a filestream of your wanted file using
And use that stream in your upload. Dont forget to import http://System.IO. (This code is C#, as far as i know you cannot do this with Javascript) thanks for your speedy reply Maarten. With this I would have to create some sort of file selection window myself wouldn't I?
Nov 24 '10 at 10:40 AM
user-6747 (google)
Yes you should. There is no component in Unity to do this. But it wouldnt be really hard to create one with the GUI components that are available.
Nov 24 '10 at 11:13 AM
Maarten
ok great, I'll look into doing that then. Thanks again.
Nov 24 '10 at 11:15 AM
user-6747 (google)
Forgive me, but how is the Filestream used with the WWW object for uploading, exactly?
Dec 10 '10 at 11:30 PM
DaveA
(comments are locked)
|
|
Can anyone tell me how to upload a scene file through Winscp? How should I save the file? I am having maximum trouble here.
(comments are locked)
|
