A question about continue button

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Lucian1899
Posts: 20
Joined: Wed Dec 13, 2023 9:23 am

A question about continue button

Post by Lucian1899 »

Hi, sorry for disturbing, I have another question about continue button.

The dialogue UI worked well at first in my game, but after I changed TextMeshPro-Text(UI) for subtitle panel, here is a strange bug: When the continue button appears, the dialogue could not scroll to the bottom of the Scroll Rect automatically(but when response options appears, it could scroll). I wonder if I did something wrong with UI Typewritter Effect or TMP setting, thank you for help!
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: A question about continue button

Post by Tony Li »

Hi,

Add a TextMeshProTypewriterEffect to your Subtitle Text (TMP version). Configure the OnCharacter() and/or OnEnd() events to set the Scroll Rect's verticalNormalizedPosition to 0.
Lucian1899
Posts: 20
Joined: Wed Dec 13, 2023 9:23 am

Re: A question about continue button

Post by Lucian1899 »

That's awesome! Thank you so much!
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: A question about continue button

Post by Tony Li »

Glad to help!
Post Reply