Best approach to create a pop up / pause menu

Hi,

I’d like to create a simple menu that comes up when you press a button in-game, where you can restart the game, go back to main menu, etc.

I have a turn based game, so pausing the game is not required, it would be enough if the player couldn’t interract with the game objects while the menu is open.

What would be the best approach to create a pop up / pause menu like this?

Thanks.

Well I don’t know what the best approach is but I can tell you how I do it.

Here’s a popup in one of our games. It’s just some images and text overlayed in front of the normal UI. There’s a screen sized semi-transparent background image to darken down the UI behind. If you make the background block raycasts then your UI behind cannot be interacted with.

1 Like

Usually, you just have some popup box. You can use a unity panel, or an image to make the box. Then just put all your buttons or whatever on it. Then, behind the box a full sized image with raycast.

and… @andymads beat me to it with a good example.

1 Like