Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Storing images - what's the best way to do it?

$
0
0
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?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>