Publisher | Hippo |
---|---|
File size | 107.08kB |
Number of files | 17 |
Latest version | 1 |
Latest release date | 2022-10-12 04:46:14 |
First release date | 2022-10-07 02:58:15 |
Supported Unity versions | 2018.4.2 or higher |
Use Simple File Browser For WebGL to download and upload files in your WebGL apps and games. The asset includes a Java Script plugin for interaction with web-browsers and a WebGL template for Unity.
Features:
● Download files functionality
● Upload files functionality (file name, MIME and bytes are returned in callback)
● Works with all browsers
● Extremely SIMPLE
Limitations:
● Works with single files only (folders and multiple selection are not supported)
Setup steps:
1) Move Assets/SimpleFileBrowserForWebGL/WebGLTemplates folder to Assets folder
2) Open Player Setting/Player/Resolution and Presentation and select SimpleFileBrowserForWebGL template
3) Alternatively, if you're using your custom WebGL template, just create a global variable gameInstance and initialize it inside createUnityInstance callback (refer to SimpleFileBrowserForWebGL template for code example)
4) If my WebGL template is outdated, copy the Default template from Unity installation folder and do the same as described in Step 3
Usage:
● WebFileBrowser.Download(fileName, bytes)
● WebFileBrowser.Upload(callback, fileExtension)
Support:
● Discord - questions, live chat with developers
It would be super awesome if you rate ★★★★★ my asset and leave your feedback! Your reviews inspire me for creating and improving my assets, thanks!
Features:
● Download files functionality
● Upload files functionality (file name, MIME and bytes are returned in callback)
● Works with all browsers
● Extremely SIMPLE
Limitations:
● Works with single files only (folders and multiple selection are not supported)
Setup steps:
1) Move Assets/SimpleFileBrowserForWebGL/WebGLTemplates folder to Assets folder
2) Open Player Setting/Player/Resolution and Presentation and select SimpleFileBrowserForWebGL template
3) Alternatively, if you're using your custom WebGL template, just create a global variable gameInstance and initialize it inside createUnityInstance callback (refer to SimpleFileBrowserForWebGL template for code example)
4) If my WebGL template is outdated, copy the Default template from Unity installation folder and do the same as described in Step 3
Usage:
● WebFileBrowser.Download(fileName, bytes)
● WebFileBrowser.Upload(callback, fileExtension)
Support:
● Discord - questions, live chat with developers
It would be super awesome if you rate ★★★★★ my asset and leave your feedback! Your reviews inspire me for creating and improving my assets, thanks!