DialogueRunner.StringUnityEvent that is called
Command is received.
public DialogueRunner.StringUnityEvent onCommand
Use this method to dispatch a command to other parts of your game.
This method is only called if the
Command has not
been handled by a command handler that has been added to the
DialogueRunner, or by a method on a
MonoBehaviour in the scene with the attribute
This method receives the full text of the command, as it appears between
AddCommandHandler(String, DialogueRunner.CommandHandler): Adds a command handler. Dialogue will continue running after the command is called.
AddCommandHandler(String, DialogueRunner.BlockingCommandHandler): Adds a command handler. Dialogue will pause execution after the command is called.
Defined in Unity/Assets/YarnSpinner/Scripts/DialogueUI.cs, line 251.