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
Dialogue.OptionsHandler
: Represents the method that is called when the Dialogue delivers anOptionSet
.
Source
Defined in YarnSpinner/Dialogue.cs, line 464.