Pause Screen Effect - start menu

Hi Guys,

I would like players to be able to pause my game.

When paused i’d like to bring up a pause screen with some options on it GUI stuff, however i’d like to draw this over the top of my game.

So for example the scene actually pauses and is behind the start/pause scene with the options, I was wondering how to do that how to stop all action in the game including music and everything. So that it looks like a screen shot in the background with a menu over the top.

I was thinking of Time.timeScale = 0 but this would cause problems as my start menu wouldn’t be able to be used and would the start music wouldn’t work?

Thanks!

I use Time.timeScale and it still lets the music play and you can use gui buttons and what not without a problem.

Oh right!

I thought it wouldn’t so by doing Time.timeScale it will pause my player etc and i just turn the music off manually?

Thats pretty handy,

Will the buttons still have an effect though?

Like will up still make the player move up or will all game mechanics stop but music and gui buttons?

Thanks

Hmm never tried anything besides music and gui buttons with Time.timeScale but it would not hurt to give it a try. And if that does not work you could try changing Time.timeScale to something super low like 0.001 or so, to give the illusion of pause.