Class for the arc-vr developer's console. Functions as a singleton with only static members. Multiple independent consoles per scene/instance is not possible.
More...
|
static void | init () |
| Initializes the DevConsole. Only the first execution will have an effect. More...
|
|
static void | HandleLog (string logString, string stackTrace, LogType type) |
| Executes a respective output based on logString, stackTrace and LogType. More...
|
|
static string | get_text () |
| Get the complete output of this console as text. More...
|
|
static void | clear () |
| Clear console output entirely. More...
|
|
static void | cprint (string s, MonoBehaviour obj) |
| Print with a caller-context variable. More...
|
|
static void | cprint (string s, GameObject obj) |
| Print with a caller-context variable. More...
|
|
static void | cprint (string s, string obj) |
| Print with a caller-context variable. More...
|
|
static void | csuccess (string s, MonoBehaviour obj) |
| Print success message with a caller-context variable. More...
|
|
static void | csuccess (string s, GameObject obj) |
| Print success message with a caller-context variable. More...
|
|
static void | csuccess (string s, string obj) |
| Print success message with a caller-context variable. More...
|
|
static void | cwarn (string s, MonoBehaviour obj) |
| Print warning message with a caller-context variable. More...
|
|
static void | cwarn (string s, GameObject obj) |
| Print warning message with a caller-context variable. More...
|
|
static void | cwarn (string s, string obj) |
| Print warning message with a caller-context variable. More...
|
|
static void | cerror (string s, MonoBehaviour obj) |
| Print error message with a caller-context variable. More...
|
|
static void | cerror (string s, GameObject obj) |
| Print error message with a caller-context variable. More...
|
|
static void | cerror (string s, string obj) |
| Print error message with a caller-context variable. More...
|
|
static void | raw_print (string s) |
|
static void | print (string s) |
| Print a given string on the console. More...
|
|
static void | success (string s) |
| Print a success message string on the console. More...
|
|
static void | error (string s) |
| Print a given error string on the console. More...
|
|
static void | warn (string s) |
| Print a given warning string on the console. More...
|
|
static string | history (int t) |
| Returns any command executed in the past. - Parameters
-
t | Index of the past command with t=0 being the most recent one. |
More...
|
|
static void | command (string s, bool addToHistory=true) |
| Execute a given console command. More...
|
|
static void | register_command (AVR_ConsoleCommand cmd) |
| Registers a new command to the console. More...
|
|
static void | register_command (string name, System.Action< string[]> func, int min_args=0, string desc="No description given.") |
| Registers a new command to the console. More...
|
|
static void | register_command (string name, System.Action< string[]> func, string desc) |
| Registers a new command to the console. More...
|
|
Class for the arc-vr developer's console. Functions as a singleton with only static members. Multiple independent consoles per scene/instance is not possible.
Definition at line 17 of file AVR_DevConsole.cs.