This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

Dialogue.optionsHandler Property

Gets or sets the Dialogue.OptionsHandler that is called when a set of options are ready to be shown to the user.

public Dialogue.OptionsHandler optionsHandler { get; set; }

Remarks

The Options Handler delivers an OptionSet to the game. Before Continue() can be called to resume execution, SetSelectedOption(Int32) must be called to indicate which OptionSet.Option was selected by the user. If SetSelectedOption(Int32) is not called, an exception is thrown.

See Also

Source

Defined in YarnSpinner/Dialogue.cs, line 464.