Quick Tip: Show Continue Button After Typewriter Finishes

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Tony Li
Posts: 22655
Joined: Thu Jul 18, 2013 1:27 pm

Quick Tip: Show Continue Button After Typewriter Finishes

Post by Tony Li »

If you're using a continue button, choose one of the solutions below to hide the continue button until the typewriter is done:

Solution 1
Inspect the Unity UI Typewriter Effect. Set the OnCharacter() event to call the continue button's GameObject.SetActive false. Set the OnEnd() event to call the continue button's GameObject.SetActive true.

Solution 2
Set the Unity UI Typewriter Effect's Characters Per Second to the same value as the Dialogue Manager's Subtitle Settings > Subtitle Chars Per Second. Then change the Dialogue Manager's Camera Settings > Default Sequence to:

Code: Select all

SetContinueMode(false); SetContinueMode(true)@{{end}}
Post Reply