From GUI buttons to in-game

Hi there!
I’m trying to build a GUI menu, to start the game, but I would like to “lock” all the game while this, like a pause. The thing is that I’ve tried to do this by enabling and disabling scripts, and when I try doing this with more than one script, I’ve always got an error.
There’s an easier way to do that? I’ve thought about events, but didn’t tested yet.

[ ]s Chips

You can set Time.timeScale to 0 - that should cause most things to pause.

I would recommend creating your own “state” system. Have a central script control whether certain objects are allowed to move or not. That way you can still use Time.deltaTime which is handy for GUI animation, while making sure that paused things stay put.