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

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

Source

Defined in Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 462.