- Current Version: 1.0.1: 2023-11-14T15:46:40Z
- First Published: 2023-05-05T11:04:12Z
- Size: 108144
- Supported Unity Versions: 2021.2.5
tools utilities
Add to cart
File Browser for WebGL
No rating !(0 Vote)
$14.96
$14.96
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);
Add to cart