VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
static void AVR.Core.AVR_DevConsole.help_command ( string  arg)
inlinestaticprivate

Definition at line 331 of file AVR_DevConsole.cs.

331  {
332  bool found = false;
333  foreach (AVR_ConsoleCommand cmd in commands)
334  {
335  if(cmd.name == arg) {
336  print("COMMAND: " + cmd.name);
337  print("MIN_ARGS: " + cmd.min_args);
338  print("DESCRIPTION: " + cmd.desc);
339  print("");
340  found = true;
341  }
342  }
343  if(!found) print("Command "+arg+" does not exist. Type \"commands\" to see a list of all available commands.");
344  }
static List< AVR_ConsoleCommand > commands
static void print(string s)
Print a given string on the console.