[C#] Collect Key Fragments to unlock door, and Save Progress.

Hey there! I’ve had the idea of the Hub world of my platformer game to have a seperate door for each level. In order to open the door, you need to find all four pieces of the key. I need the GUI to look like this: 37278-keys_2.pngAnd then also, how would I get it to save progress so you don’t have to do it again next time you play?
Many thanks to all who try and help! :slight_smile: [I realize this might be complicated, or maybe just a simple public variable thing.]

Simplest way would probably be to use PlayerPrefs:

Whenever the player gets a key fragment, just save it in PlayerPrefs. And when you enter the game again just load the values from it.