I'm working on a project where I need to store a lot of images on the client.
At the moment I'm doing it like this:
I get the images from our webserver via www.texture, turn the Texture2D into a PNG via Texture2D.EncodeToPNG() and store them via File.WriteAllBytes(filepath, data);
Works, but the problem with this approach is that it's a bit slow to access multiple images, because I...
Storing images - what's the best way to do it?
At the moment I'm doing it like this:
I get the images from our webserver via www.texture, turn the Texture2D into a PNG via Texture2D.EncodeToPNG() and store them via File.WriteAllBytes(filepath, data);
Works, but the problem with this approach is that it's a bit slow to access multiple images, because I...
Storing images - what's the best way to do it?