VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
static string AVR.Core.AVR_DevConsole.history ( int  t)
inlinestatic

Returns any command executed in the past.

Parameters
tIndex of the past command with t=0 being the most recent one.

Definition at line 202 of file AVR_DevConsole.cs.

202  {
203  if(command_history.Count<1) return "";
204  t = Mathf.Clamp(t, 0, command_history.Count-1);
205  return command_history[t];
206  }
static List< string > command_history