OptionsHandler Delegate
Represents the method that is called when the Dialogue delivers
an OptionSet
.
public delegate void OptionsHandler(OptionSet options);
Remarks
Unlike Dialogue.LineHandler
, Dialogue.OptionsHandler
does not return a Dialogue.HandlerExecutionType
to signal
that the Dialogue should suspend execution. This is because the
Dialogue will always need to wait for the user to make a
selection before execution can resume.
Parameters
Parameter | Description |
---|---|
OptionSet options |
The OptionSet that has been delivered. |
See Also
-
Dialogue.LineHandler
: Represents the method that is called when the Dialogue delivers aLine
. -
Dialogue.CommandHandler
: Represents the method that is called when the Dialogue delivers aCommand
. -
Dialogue.NodeCompleteHandler
: Represents the method that is called when the Dialogue reaches the end of a node. -
Dialogue.DialogueCompleteHandler
: Represents the method that is called when the dialogue has reached its end, and no more code remains to be run.
Source
Defined in YarnSpinner/Dialogue.cs, line 396.