I am making a game, I made a character selection screen, I also made an unlocking system through coins, my question is how could I save the unlocked characters, I know that I could save them through a global variable for each character (in total there are 14), but that would not be ideal because I think it would affect the performance of the game, besides it is only needed for one scene and not for all (in total 7), how could I save all the unlocked characters, and how could I read them later?
As you can see in the video, the unlocked characters are not saved, because they are saved in a scene variable and not in a global variable.