public void StartLevel(int mode) { stageGenerator.SetMode(mode); stageGenerator.GenerateLevel(); player.ableToMove = true; Time.timeScale = 1; }