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 command

The 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.

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.