So i made a health upgrade system that uses PlayerPrefs to store my upgrade level but now i want to have a visual representation of those upgrades using empty stars and filled stars to show the upgrade level so if the upgrade was purchased 3 times, 3 stars would be filled. What is the best way to do this?
2 different sprites? (Assuming this is for the UI). Just put your 3 empty stars somewhere, and reference the images (images being UI components that hold sprites). Then, when you check your upgrade from disk on load or when you level up/buy/earn an upgrade, exchange the star’s sprite.