Menu Framework

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
dnblank12
Posts: 14
Joined: Wed Sep 21, 2022 5:46 am

Menu Framework

Post by dnblank12 »

Hello again, so I'm using the Menu Framework, and my issue is that when getting the first mission/quest, then quitting the menu, it still retains the entry. I'll attach an example. I also tried to ResetDatabase()/StopAllConverstation() on QuitToMenuConfirm button it didn't work.
Edit1: I might try and follow this post https://www.pixelcrushers.com/phpbb/vie ... 11&p=17077
Edit2: It didn't work.
Attachments
unknown.PNG
unknown.PNG (4.95 KiB) Viewed 185 times
dialogue manager.PNG
dialogue manager.PNG (15.8 KiB) Viewed 185 times
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Menu Framework

Post by Tony Li »

Hi,

I recommend making a prefab variant of the MenuSystem prefab so you can customize it. In your custom version, inspect the MenuSystem > QuitToMenuPanel > QuitToMenuConfirm button. Add a SaveSystemMethods component. Configure the third UnityEvent element to call SaveSystemMethods.ResetGameState, and configure a fourth one to call SaveHelper.ReturnToTitleMenu:

returnToTitleMenu.png
returnToTitleMenu.png (88.68 KiB) Viewed 178 times
dnblank12
Posts: 14
Joined: Wed Sep 21, 2022 5:46 am

Re: Menu Framework

Post by dnblank12 »

Thanks again Tony! :D
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Menu Framework

Post by Tony Li »

Glad to help!
Post Reply