Properly increase game speed

Unity noob here. I’m working on a really simple 2D platformer, and I want to increase the difficulty as you play, by increasing the speed of the game.

I’ve got it working by manually increasing the time scale at certain intervals, like this:

Time.timeScale += 0.1f;

Is this the “correct” way to do something like this? Or will I run into problems with this method?

Well, it’s certainly the simplest way to do it. As you’re a beginner and making a simple game, I say go with this.