Game Dev Diary #4

Game Dev Diary #4


Intro
Today I created a pause menu option for the game.

Pause Menu
For the pause menu I added a pause menu object to player control and added a background using UI > Raw image, where I used this picture from my team member. I added a title which says “Game Paused” and two buttons, Resume and Exit.


I have added script to the character so that when I press “Esc” button the pause menu will appear and to resume the game we can either press “Esc” again or press Resume button. 


Lastly I added the escape button in edit > project settings > input manager, so that whenever I press “Esc” the game’s pause menu appears.

 

Comments

Popular Posts