RequestCommand

AnythingWorld.Voice.CommandRequester.MakeCommand

Declaration

 public static void RequestCommand(string input, Action<string> ReturnedCommandAction = null)

Parameters

input

Plain text command to be parsed by API.

ReturnedCommandAction

Action that will be invoked on successfully parsed and returned command, must take a string input.

Description

Requests a command from a plain text input string and handles resulting command through CommandHandler utility.

Last updated