Hide animation not triggering, panel immediately disables

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
JoeFonzarelli
Posts: 1
Joined: Fri Jun 19, 2020 6:54 am

Hide animation not triggering, panel immediately disables

Post by JoeFonzarelli »

Hello, I'm starting to implement a dialogue system in my game with this plugin.

So far I've been able to create dialogues and launch custom Focus/Unfocus animations while the conversation runs. Everything runs smoothly until I reach the last subtitle of a conversation, that disables immediately the panel instead of executing the Hide animation.

I've tried modifying the Standard UI Subtitle Panel Visibility option to every value but it doesn't seem to help, added delays in the last subtitle's sequence (with Delay({{end}}) ), I've tried to set the Continue Button mode to Always and continuing the conversation with player input but nothing seems to work.

I couldn't find a proper way to solve this issue neither in the docs nor in the forums.

This is my animator:
Image

this is my conversation:
Image

and here is a video of what is happening:


(The hide animation is the same one as the unfocus one: scale down the bubble to 0)

I'm working with Unity 2019.3.8f1, Plugin version is 2.2.3
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Hide animation not triggering, panel immediately disables

Post by Tony Li »

Hi,

If possible, please update to version 2.2.7. It has some UI improvements.

Try giving the main dialogue panel itself a hide animation that lasts as long as the bubble's hide animation. The main panel's animation can do nothing if you want; it's primarily used for timing to tell the dialogue UI to keep its panels active until the main panel's animation is finished. (As soon as the main panel thinks it's hidden, it deactivates all subtitle panels and menu panels.)
Post Reply