hello,
i want to create a slideshow for webgl.
i want to include some 20 images but more images should be loaded on runtime from a zip package.which is in a subfolder of the index file location.
What is the best approach to this.
hello,
i want to create a slideshow for webgl.
i want to include some 20 images but more images should be loaded on runtime from a zip package.which is in a subfolder of the index file location.
What is the best approach to this.
Well, you would first load the zip file with Resources.Load
then you need to unzip it with GZipStream
then you’ll have your 20 images
as i understand Resources.Load does load from the Resources folder which would be compressed and in the unity webgl package so i could not just add files to it
Pretty sure you will need to give unity the URL to the files and download them with the www class
how would i get the url from the subfolder? Does it work on a local address?