BlockingCommandHandler Delegate

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

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


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


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


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