Hi,
I am making like a loopable game where if the player reaches and the game restarts only the whole color theme will be changed and I will like add 1 to the Level Progress Bar so it will give the illusion of level progress. I make random scenes using object pooling. The thing is I want to have the final score that player earned when the game restarts. If the player has 100 points at the end of level I want the game to restarts with 100 points. But if game is over I mean player dies then naturally the score should set to 0.
I used playerprefs for saving highscores so I can save highscore only couldn't implement that in saving score when player restarts the game. Or should I make different scenes (levels) to player will jump to next one and maybe there is a way to save score when jumping to a scene?? I would appreciate any help.
Thank you