Command Data


Part of the Command System of the UX Foundation and UX Compelete assets

Represents a command and its related data. This can be used to convert any string into a refernce to the related commannds GameEvent and to extract the arguments from the command if any.

Fields and Attributes


Indicates the command is valid, if false other fields will be null and this command can be ignored.


A reference to the related GameEvent if valid.


The text that was parsed to find this command, this may contain additional commands.


The part of the text that follows the command if any


public CommandData(CommandLibrary library, string command, bool userOnly)

This constructor takes a refernce to a Command Library and will parse the provided text to construct the resulting command.

Last updated