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.
Menu Framework
Menu Framework
- Attachments
-
- unknown.PNG (4.95 KiB) Viewed 185 times
-
- dialogue manager.PNG (15.8 KiB) Viewed 185 times
Re: Menu Framework
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:
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: