Game level increase, how do you aproach it?

I’ve made a game, a space invader type game, nothing too fancy. I’ve made the first level which ends with a boss.

I normally create a new scene for each level and such, but I’m thinking for this game I might do things differently.

At the moment I’m thinking that variables like, enemy speed, enemy amount shoot frequency can be increased at the end of every level and stored in playerprefs. This would allow for a player to continue where they left off next time they load the game as long as there is an option to start the game again that would be fine. Technically giving unlimited levels of play.

Has anyone done this before or is there another way I can do it? Just wondering how others approach increasing levels.

Actually yes this has been done before and it works really well if done right. The only thing is when it saves right before you die that would render the save game useless. So my advice is to have an auto save every once in a while but keep a couple of save games lets say the last 3 so someone can choose the first or the last in case it saved right before a death trap.