public ConsoleCommand(string _command, string _description, CmdParameterType _parameterType, GameObject _target, string _messageExecuted) { command = _command; description = _description; parameterType = _parameterType; target = _target; messageExecuted = _messageExecuted; }
private void CreateCommand(string command, string description, CmdParameterType type, string functionName) { global::Console.AddCommand(new ConsoleCommand(command, description, type, base.gameObject, functionName)); }