This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

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

Source

Defined in YarnSpinner/Dialogue.cs, line 411.