Hi,
I hope everything is going well!
I was wondering if you could help me with an issue. The response panel is working perfectly, but I've noticed that when I pause the game and then resume it while a response panel is open, the timer freezes. The navigation works properly, but the timer no longer progresses and the slider value remains the same.
Do you have any ideas on how to solve this?
Plus question: is there a variable that would enable me to verify if a response panel is currently active?
Thank you as always!
Problem with response timer after game pause/resume
-
- Posts: 9
- Joined: Mon Dec 03, 2018 4:31 pm
Re: Problem with response timer after game pause/resume
If you deactivate the response menu's timer GameObject and reactivate it, the timer won't resume in version 2.2.35 and earlier. This patch (which will be in 2.2.36) fixes that:
DS_TimerPatch_2023-03-28.unitypackage
(Also available on the Dialogue System Extras page.)
To check if the response menu is open, you can check:
DS_TimerPatch_2023-03-28.unitypackage
(Also available on the Dialogue System Extras page.)
To check if the response menu is open, you can check:
Code: Select all
bool isMenuOpen = DialogueManager.standardDialogueUI.conversationUIElements.defaultMenuPanel.isOpen;
-
- Posts: 9
- Joined: Mon Dec 03, 2018 4:31 pm
Re: Problem with response timer after game pause/resume
Thanks as always, it works perfect!Tony Li wrote: ↑Tue Mar 28, 2023 8:37 pm If you deactivate the response menu's timer GameObject and reactivate it, the timer won't resume in version 2.2.35 and earlier. This patch (which will be in 2.2.36) fixes that:
DS_TimerPatch_2023-03-28.unitypackage
(Also available on the Dialogue System Extras page.)
To check if the response menu is open, you can check:
Code: Select all
bool isMenuOpen = DialogueManager.standardDialogueUI.conversationUIElements.defaultMenuPanel.isOpen;
Re: Problem with response timer after game pause/resume
Glad to help!