Page 1 of 1

Problem with response timer after game pause/resume

Posted: Tue Mar 28, 2023 5:35 pm
by elektronische
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!

Re: Problem with response timer after game pause/resume

Posted: Tue Mar 28, 2023 8:37 pm
by Tony Li
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

Posted: Wed Apr 05, 2023 5:59 pm
by elektronische
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;
Thanks as always, it works perfect!

Re: Problem with response timer after game pause/resume

Posted: Wed Apr 05, 2023 7:47 pm
by Tony Li
Glad to help!