Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Loading images into empty UI Image prefabs in the "background"?

$
0
0
I'm trying to script a gallery that creates prefabs based on the number of photos in a folder. Coded it to the point where the right amount of prefabs are made, then images are loaded into them using a texture2D byte array.

Unfortunately, it hangs the app for too long and was wondering if there was a way to load the images into the UI elements one by one instead of all the same time, similar to Android's native gallery where the picture tiles are placeholders until the actual pictures are...

Loading images into empty UI Image prefabs in the "background"?

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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