CommandHandler Delegate
Represents the method that is called when the Dialogue delivers
a Command
.
public delegate Dialogue.HandlerExecutionType CommandHandler(Command command);
Parameters
Parameter | Description |
---|---|
Command command |
The Command that has been delivered. |
Return Type
Dialogue.HandlerExecutionType
: Whether the Dialogue
should suspend
execution after delivering this command.
See Also
-
Dialogue.HandlerExecutionType
: Used as a return type by handlers (such as theDialogue.LineHandler
) to indicate whether aDialogue
should suspend execution, or continue executing, after it has called the handler. -
Dialogue.LineHandler
: Represents the method that is called when the Dialogue delivers aLine
. -
Dialogue.OptionsHandler
: Represents the method that is called when the Dialogue delivers anOptionSet
. -
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 411.