Gökhan Gökçe
Gökhan Gökçe
Hi, No, you can’t. Due to security reasons, browsers not allowed to read file system.
I think its possible, on StandaloneFileBrowser.jslib line 44, you can get file name with event.target.files[0].name (or multiple name if you support multiselect) But sending name to unity side is trickier...
Yes it can be done, see [live demo](https://gkngkc.github.io/) UploadFile is the js extension method and uses UnitySendMessage to communicate with C# code. Parameter is the name of gameobject and plugin...
You're right, i should mention it. Thanks for pointing that out.
Are you using [latest](https://github.com/gkngkc/UnityStandaloneFileBrowser/releases/tag/1.1) (1.1) release? I did some fixes for IL2CPP recently. If you are, could you give more info about the bug. - What is your unity version?...
Hi, thanks for kind words. I tried setting extension in the js plugin at the time, but didn't spend much time on it. So I've commented it out. I think...