So I have multiple levels, each with their own PlayerPrefs that saves the Player’s score when they die. After they die they are taken to a GameOver scene that shows them their score. The problem is that the GameOver Scene only loads the first level’s score because it only has one script that does that. What I want to know, is how can I after or before the player dies, disable the game object or script of the first high score in the GameOver scene, and then enable a game object or script that shows the high score depending on the level I’m in(In the GameOver Scene). I hope I’m making sense.
In concept I think it would go something like this: First I create an array of game objects, and when a certain scene is loaded, enable a certain game object. But how can that work? Through prefabs maybe?
By the way, I could always just create a bunch of GameOver scenes for each level, but that would be laziness on my part big time(unless it recommend which I highly doubt).