|PC||Mac OSX||Oculus Quest|
Download a ZIP from the web or extract from a ZIP file to the StreamingAssets folder.
Optionally load the ZIP as a level, with the choice to also “stack” the downloaded level on top of the current one.
Note: If you are downloading a level the ZIP is expected with the level-name.txt and level-name.png being in the top level of the ZIP in order to load the level after download
The ZIP should also be the same name as the level name.
- A string value
- isLevel Optional
- A boolean value
- stackLevel Optional
- A boolean value whether to load this level on top of ours, will not load objects with the flag –!NOEXPORT in their script
obj.downloadZip(fileName, isLevel, stackLevel)