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

BlockingCommandHandler Delegate

Represents a method that can be called when the DialogueRunner encounters a command.

public delegate void BlockingCommandHandler(string[] parameters, Action onComplete);

Remarks

After this method returns, the DialogueRunner will pause executing code. The onComplete delegate will cause the DialogueRunner to resume executing code.

Parameters

Parameter Description
string[] parameters The list of parameters that this command was invoked with.
Action onComplete The method to call when the DialogueRunner should continue executing code.

See Also

Source

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