VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
void AVR.Core.AVR_DevConsoleMirror.run_command ( )
inline

Run the command that is written in DevConsoleInput.

Definition at line 68 of file AVR_DevConsoleMirror.cs.

68  {
69  history_index = 0;
70  if(!DevConsoleInput) {
71  AVR_DevConsole.error("DevConsoleMirror " + gameObject.name + " tried to run a command, but no input component was assigned!");
72  return;
73  }
74  AVR_DevConsole.command(DevConsoleInput.text);
75  DevConsoleInput.text = "";
76  }