How Would I Go About Unlocking My Character After Purchasing It?

I Have made a system to purchase items so I can unlock them for use in my game. The problem is I have no clue how to actually let the Widget know the character is unlocked. I have a button that I can use to take my coins as a purchase and remove the Overlay covering the character and the button itself but it does not save once I go back to the main menu.

I have tried to set visibility based on if the character was bought but when I reload the game the buy button is back and the character button is gone forcing me to rebuy the character everytime. How would I go about saving that change when I buy the character?

1 Like