Quantcast
Viewing all articles
Browse latest Browse all 62

What is the best way to fetch a Sprite?

I have an inventory system that has a lot of items. Each item has a sprite that needs to be fetched. As far as performance and memory usage are concerned, is it better to use Resources.Load every time we need a sprite or to save public references to all Sprites on a gameobject? Or perhaps there's an even better way?

Viewing all articles
Browse latest Browse all 62

Trending Articles



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