CommandHandler Delegate
Represents a method that can be called when the DialogueRunner encounters a command.
public delegate void CommandHandler(string[] parameters);
Remarks
After this method returns, the DialogueRunner will continue executing code.
Parameters
Parameter | Description |
---|---|
string[] parameters |
The list of parameters that this command was invoked with. |
See Also
-
AddCommandHandler(String, DialogueRunner.CommandHandler)
: Adds a command handler. Dialogue will continue running after the command is called. -
AddCommandHandler(String, DialogueRunner.BlockingCommandHandler)
: Adds a command handler. Dialogue will pause execution after the command is called.
Source
Defined in Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 462.