Definition at line 21 of file AVR_Core_ConsoleCommands.cs. 23 AVR_DevConsole.register_command("echo", (s) => AVR_DevConsole.print(string.Join(" ", s)), 1, "Prints a given message back to the user.");
25 AVR_DevConsole.register_command("packages", (s) => print_packages(), "Prints a list of all installed arc-vr packages");
27 AVR_DevConsole.register_command("clear", (s) => AVR_DevConsole.clear(), "Clears console output");
30 AVR_DevConsole.register_command("toggle", (s) => toggle_obj(s), 1, "Toggles a scene object with a given name.");
32 AVR_DevConsole.register_command("prefabs", (s) => prefabSearch(s), 2, "Searches within the UnityEditor for prefabs. args[0] should be \"ui\" or \"props\" with the remainder being the search term.");
34 AVR_DevConsole.register_command("spam", (s) => { for(int i=0; i<100; i++) AVR_DevConsole.print("output"+i); }, "Outputs a bunch of console messages. Used for console testing/debugging.");
36 AVR_DevConsole.register_command("reconfigure", (s) => { AVR_Settings.reconfigure(); }, "Re-initializes AVR_Settings.");
38 AVR_DevConsole.register_command("get", (s) => AVR_DevConsole.print(AVR_Settings.get_string(s[0])), 1, "Prints a setting with the given settings-token");
40 AVR_DevConsole.register_command("set", (s) => AVR_Settings.settings[s[0]]=s[1], 2, "Sets a setting with settings-token arg[0] to the value of arg[1]");
42 AVR_DevConsole.register_command("start_xr", (s) => AVR_PlayerRig.Instance.StartCoroutine(StartXR()));
Represents the players VR setup. Only one instance at a time is allowed. Definition: AVR_PlayerRig.cs:14 static IEnumerator StartXR() Definition: AVR_Core_ConsoleCommands.cs:47 Class for the arc-vr developer's console. Functions as a singleton with only static members... Definition: AVR_DevConsole.cs:17 Contains constan values, settings etc. which can all be set through *.avr files. Duplicate settings w... Definition: AVR_Settings.cs:14 static Dictionary< string, string > settings Dictionary containing all settings by their key. A setting declared as domain = { setting = true } wi... Definition: AVR_Settings.cs:42 static void StopXR() Definition: AVR_Core_ConsoleCommands.cs:63 static void prefabSearch(string[] args) Definition: AVR_Core_ConsoleCommands.cs:108 static void toggle_obj(string[] args) Definition: AVR_Core_ConsoleCommands.cs:72 static string get_string(string token) Get a registered setting of the type string. Definition: AVR_Settings.cs:88 static void print_packages() Definition: AVR_Core_ConsoleCommands.cs:86 static T Instance Definition: AVR_SingletonComponent.cs:12 |