All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

DialogueComplete()

Method in OptionsListView

Summary

Called by the DialogueRunner to signal that the dialogue has ended, and no more lines will be delivered.

public override void DialogueComplete()

Remarks

This method is called after the last piece of content (that is, lines, options or commands) finished running.

This method is a good place to perform tasks like dismissing on-screen dialogue UI (for example, turning off a letterboxing effect, or hiding dialogue UI elements.)

If is called, this method is how your custom views are informed of this. This allows you to skip over the normal flow of dialogue, so please use this method to clean up your views.

The default implementation of this method does nothing.

RunLine(LocalizedLine,Action)

Method in OptionsListView

Summary

public override void RunLine(LocalizedLine dialogueLine, Action onDialogueLineFinished)

Parameters

Name
Description

OptionsListView

Class in

Inherits from

Summary

Reset()

Method in

Summary

Start()

Method in

Summary

Yarn.Unity.LocalizedLine dialogueLine

System.Action onDialogueLineFinished

Stop()
public void Reset()
OptionsListView
public void Start()
OptionsListView
Methods
Name
Description

Called by the to signal that the dialogue has ended, and no more lines will be delivered.

public class OptionsListView : DialogueViewBase
Yarn.Unity
DialogueViewBase

RunOptions(DialogueOption[],Action<int>)

Method in OptionsListView

Summary

public override void RunOptions(DialogueOption[] dialogueOptions, Action<int> onOptionSelected)

Parameters

Name
Description

Yarn.Unity.DialogueOption[] dialogueOptions

System.Action<int> onOptionSelected

DialogueComplete()
DialogueRunner
Reset()
RunLine(LocalizedLine,Action)
RunOptions(DialogueOption[],Action)
Start()