Hiding the UI panel on every subtitle
Posted: Thu Nov 24, 2022 5:35 pm
Hi,
we've been using your dialogue system in our company for a few months, and so far it's been a decent experience. However, one thing that I just can't figure out is how to trigger the close animation in the UI Panel Animator on individual subtitles. I tried using sequences, setting the animator state directly, but they always fade in and out instantly, without waiting for the subtitles to end, even with the @{{end}} tag at the end.
I tried hooking the UI Panel script into the dialogue system conversation events, to manually open/close the UI panel when a new line is received and has ended, which is the closest I've come so far.
What I'm trying to achieve is alternating between a jRPG-style dialogue box for the NPC and chat bubbles for the player. The dialogues themselves play out just fine, and appear as they should, but the dialogue box won't fade out at the end of the subtitle. The subtitle panel works as intended, but I'd like to see the UI Panel's canvas group alpha to be animated on select subtitles.
Thanks!
we've been using your dialogue system in our company for a few months, and so far it's been a decent experience. However, one thing that I just can't figure out is how to trigger the close animation in the UI Panel Animator on individual subtitles. I tried using sequences, setting the animator state directly, but they always fade in and out instantly, without waiting for the subtitles to end, even with the @{{end}} tag at the end.
I tried hooking the UI Panel script into the dialogue system conversation events, to manually open/close the UI panel when a new line is received and has ended, which is the closest I've come so far.
What I'm trying to achieve is alternating between a jRPG-style dialogue box for the NPC and chat bubbles for the player. The dialogues themselves play out just fine, and appear as they should, but the dialogue box won't fade out at the end of the subtitle. The subtitle panel works as intended, but I'd like to see the UI Panel's canvas group alpha to be animated on select subtitles.
Thanks!