OptionsPresenter

Class in Yarn.Unity

Inherits from DialoguePresenterBase

Summary

Receives options from a DialogueRunner , and displays and manages a collection of OptionItem views for the user to choose from.

public sealed class OptionsPresenter : DialoguePresenterBase

Fields

Name
Description

Controls whether or not to display options whose IsAvailable value is false .

Methods

Name
Description

Called by a DialogueRunner to dismiss the options view when dialogue is complete.

Called by a DialogueRunner to set up the options view when dialogue begins.

Called by a DialogueRunner when a line needs to be presented, and stores the line as the 'last seen line' so that it can be shown when options appear.

Called by a DialogueRunner to display a collection of options to the user.

Last updated

Was this helpful?