CommandHandler

Delegate in Yarn

Inherits from System.MulticastDelegate

Summary

Represents the method that is called when the Dialogue delivers a Command .

public delegate void CommandHandler(Command command);

Parameters

NameDescription
Yarn.Command commandThe Command that has been delivered.

See Also

  • LineHandler: Represents the method that is called when the Dialogue delivers a Line .
  • OptionsHandler: Represents the method that is called when the Dialogue delivers an OptionSet .
  • NodeStartHandler: Represents the method that is called when the Dialogue begins executing a node.
  • NodeCompleteHandler: Represents the method that is called when the Dialogue reaches the end of a node.
  • DialogueCompleteHandler: Represents the method that is called when the dialogue has reached its end, and no more code remains to be run.