Line Advancer
Learn about the Line Advancer, a component that can signal to a Dialogue Presenter that the user wants to proceed to the next piece of content.
Last updated
Was this helpful?
Learn about the Line Advancer, a component that can signal to a Dialogue Presenter that the user wants to proceed to the next piece of content.
Last updated
Was this helpful?
A Line Advancer listens for user input and sends requests to a Dialogue Runner to advance the presentation of the current line, either by asking a dialogue runner to hurry up its delivery, advance to the next line, or cancel the entire dialogue session.
A Line Advancer is generally used to implement a 'press spacebar to continue/skip' mechanic.
To use a Line Advancer, create a new game object, and attach a Line Advancer component to it using the Add Component button.
You can control what specific input the component is looking for by changing the Continue Action Type setting:
If you set the Input Mode to Key Code, you can select a key on the keyboard that will continue to the next line on press, or hurry up.
If you set the Input Mode to Input Actions, you can create an Action from an input device (such as from a keyboard, gamepad, or other method).
Runner
The Dialogue Runner that will receive requests to advance or cancel content
Multi Advance Is Cancel
Does repeatedly requesting a line advance cancel the line?
Advance Count (available if Multi Advance is Cancel is chosen)
The number of times that a line advance occurs before the current line is cancelled.
Input Mode
The type of input that this line advancer responds to.
Hurry Up Line Key Code or Action (available depending on choice of Input Mode)
Tell the advance to hurry up.
Next Line Key Code or Action (available depending on choice of Input Mode)
Force the next line.
Cancel Dialogue Key Code (available depending on choice of Input Mode)
Cancel dialogue.
If you want to use Input Actions, your project will need to be set up to use the .