Adding Transition Animations to NPC Subtitle and Response Panel
-
- Posts: 9
- Joined: Sun May 13, 2018 12:07 pm
Re: Adding Transition Animations to NPC Subtitle and Response Panel
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
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.
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.
-
- Posts: 9
- Joined: Sun May 13, 2018 12:07 pm
Re: Adding Transition Animations to NPC Subtitle and Response Panel
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!
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
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:
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.
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()
-
- Posts: 9
- Joined: Sun May 13, 2018 12:07 pm
Re: Adding Transition Animations to NPC Subtitle and Response Panel
Wow, that works exactly as expected. Thanks very much for your patience and support Tony.
-
- Posts: 1
- Joined: Wed Oct 09, 2019 12:51 am
Re: Adding Transition Animations to NPC Subtitle and Response Panel
Thanks very much for the work you're putting in!