File Browser for WebGL
Simple and robust file download/upload WebGL implementation. No HTML template modification required. There are two ways to use that package: - SK_Dropzone component - SK_FileBrowser API methods
by LullaByte
Price History +
Simple and robust solution for Uploading/Downloading files in Unity WebGL project.
There are two ways to use package:
- Use the ready SK_Dropzone component. (Works when clicked, or when file dropped)
- Use SK_FileBrowser methods
SK_Dropzone component accepts parameters:
- Html Id - Html element ID (should be unique per dropzone)
- Allow Multiple - If multiple files drop/upload should be supported
- Accepted Types - Accepted file types. Check: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept
You could also request file download/upload by code using:
- SK_FileBrowser.DownloadFile(fileName, fileByteArray);
- SK_FileBrowser.PickFile(options, callback);