onCommand
Last updated
Was this helpful?
Last updated
Was this helpful?
Field in
A that is called when a Command
is received.
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 , 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 the <<
and >>
markers.
AddCommandHandler(string, CommandHandler)
AddCommandHandler(string, CommandHandler)
: An attribute that marks a method on an object as a command.