Hello. Im a total newbie to this plugin so I apologize for such a silly question, I tried to find the solution but I wasnt able to. How can I make it that on click of the continue button during a line of conversation it skips to the end of the line and waits for the next click? In my current instance it skips it right to the next line that goes after the first one.
Thanks to you in advance
How can I make the continue button finish the typewriter effect?
-
- Posts: 13
- Joined: Fri Jan 13, 2023 6:25 pm
Re: How can I make the continue button finish the typewriter effect?
Hi,
Thanks for using the Dialogue System!
1. Add a StandardUIContinueButtonFastForward component to your continue button.
2. Assign the subtitle text GameObject to the component.
3. Configure the Button component's OnClick() event to call StandardUIContinueButtonFastForward .OnFastForward.
To see an example of this configuration, inspect the continue buttons on any of the dialogue UI prefabs that ship with the Dialogue System. They're all configured with StandardUIContinueButtonFastForward.
Thanks for using the Dialogue System!
1. Add a StandardUIContinueButtonFastForward component to your continue button.
2. Assign the subtitle text GameObject to the component.
3. Configure the Button component's OnClick() event to call StandardUIContinueButtonFastForward .OnFastForward.
To see an example of this configuration, inspect the continue buttons on any of the dialogue UI prefabs that ship with the Dialogue System. They're all configured with StandardUIContinueButtonFastForward.
-
- Posts: 13
- Joined: Fri Jan 13, 2023 6:25 pm
Re: How can I make the continue button finish the typewriter effect?
Thank you for your response. Yes, I already have this OnClick Event set up. It does indeed skip the typewriter effect, but it also skips the whole text line. I just need it to fast forward the effect, then wait for another press of the continue button to skip to the next line of conversation.
Re: How can I make the continue button finish the typewriter effect?
Hi,
Make sure the Button's OnClick() event only calls StandardUIContinueButtonFastForward.OnFastForward and nothing else, and that the subtitle text's typewriter effect is assigned to the StandardUIContinueButtonFastForward component.
Make sure the Button's OnClick() event only calls StandardUIContinueButtonFastForward.OnFastForward and nothing else, and that the subtitle text's typewriter effect is assigned to the StandardUIContinueButtonFastForward component.
-
- Posts: 13
- Joined: Fri Jan 13, 2023 6:25 pm
Re: How can I make the continue button finish the typewriter effect?
Oh I see, it works like a charm now. Thank you so much!