Adding Pause Menu with new inputsystem

i use the LevelManager script and the playermovement script to pause the game when i press escape button.

image

image

And in create a Canvas for Pause menu

for the main menu button i add 2 onclick actions because was bugging when i start the game again

and this is my inspector for levelManager script

i only found this problem: when i press escape faster sometimes doesnt resume the game.

and for last my inputSettings.

i hope this can be useful :slight_smile:

1 Like

This is very useful. Thank you.

Privacy & Terms