14th April 2022 – Pause Menu and New Camera System

This is the code I wrote for the pause menu. When you press the escape button, it will enable the pause menu canvas and freeze time and will stop the camera from moving when you move the mouse. The continue method is self-explanatory as it just resumes the game when you press the continue button and the exit function takes you back to the main menu.

This is a simple pause menu I created for when you press the escape button. 

I’ve changed the camera to a Cinemachine camera now as it gives a lot more control and is easier to use. While doing this I have experienced a lot of difficulties as this is completely new to me.

search previous next tag category expand menu location phone mail time cart zoom edit close