diff --git a/Assets/Scripts/UI/PauseMenu.cs b/Assets/Scripts/UI/PauseMenu.cs index fa95e7d9..035974b3 100644 --- a/Assets/Scripts/UI/PauseMenu.cs +++ b/Assets/Scripts/UI/PauseMenu.cs @@ -55,7 +55,21 @@ namespace SanAndreasUnity.UI { } void Start () { - + + this.menuBar.RegisterMenuEntry(new MenuBarEntry + { + name = "Resume", + sortPriority = int.MinValue, + clickAction = () => IsOpened = false, + }); + + this.menuBar.RegisterMenuEntry(new MenuBarEntry + { + name = "Exit", + sortPriority = int.MaxValue, + clickAction = () => GameManager.ExitApplication (), + }); + } public static PauseMenuWindow[] GetAllWindows() {