UnityStandaloneFileBrowser
UnityStandaloneFileBrowser copied to clipboard
Web GL only need to set specific extension (.obj)
I really like your work it's really clean for all the other platforms except for the WebGL which you pointed it out. If you can help me by just setting the extension it would be really great.
Thank you in Advance! :-}
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 you can try these:
- Uncomment "filter" parameter at here
- Change "filter" to "filterPtr" and get string from pointer with "filterName = Pointer_stringify(filterPtr);"
- Uncomment set filter code at here and set filterName to 'accept' attribute. (I don't know what the correct format is, so you may need to try a bit)
- Send extension to "UploadFile" plugin method in the c# side.