Page 2 of 2

Re: Adding Transition Animations to NPC Subtitle and Response Panel

Posted: Tue May 15, 2018 8:37 am
by swilliams11
Ah of course. Absolutely no rush, there's no deadline on this current project, take your time!

Re: Adding Transition Animations to NPC Subtitle and Response Panel

Posted: Tue May 15, 2018 1:15 pm
by Tony Li
Hi,

Please try this update:

(Edit - updated:)
UnityUI_Support_2018-05-20.unitypackage

It will wait for the previous response menu to finish its Hide animation before showing the next one, which is what I believe you're looking for.

Re: Adding Transition Animations to NPC Subtitle and Response Panel

Posted: Sun May 20, 2018 6:29 pm
by swilliams11
Thanks for your quick response Tony, apologies I've been busy with work. It definitely is an improvement on before, but there's still a couple of visual glitches (I've attached another video for reference).

It seems to begin with, the text is shown in its default state before the conversation is loaded, even though beforehand the canvas group is set to 0 opacity. Also it appears that although the next Show animation will wait for the animation to complete, it seems the Hide animation still cuts out early.

Hope this helps. Again, no rush with a solution, entirely a passion project!


Re: Adding Transition Animations to NPC Subtitle and Response Panel

Posted: Sun May 20, 2018 9:55 pm
by Tony Li
Hi,

Please try these 3 things:

1. Import this updated package: UnityUI_Support_2018-05-20.unitypackage. It keeps the response buttons visible while the response panel's hide animation plays. The previous behavior was to hide the buttons immediately and let the panel play its hide animation. Now, the response buttons are left visible but they're made non-interactable.

2. Split Question and Question Reminder into two separate panels. That initial flash is because the question reminder is being turned off while the question is appearing. If they're separate panels, the dialogue UI can immediately turn off the question reminder and allow the question panel to fade in. The panels can perfectly overlap each other so they look like the same thing.

3. Given the way your animations are set up, consider changing the Dialogue Manager's Default Sequence to:

Code: Select all

None()
This will make it jump right into the response menu / question reminder. You may not need to show the question panel at all, since it will be repeated in the question reminder panel.

Re: Adding Transition Animations to NPC Subtitle and Response Panel

Posted: Mon May 21, 2018 8:55 am
by swilliams11
Wow, that works exactly as expected. Thanks very much for your patience and support Tony.

Re: Adding Transition Animations to NPC Subtitle and Response Panel

Posted: Mon May 21, 2018 9:27 am
by Tony Li
Glad to help!

Re: Adding Transition Animations to NPC Subtitle and Response Panel

Posted: Wed Oct 09, 2019 12:53 am
by Anamika2123
Thanks very much for the work you're putting in!