Mirrors the output of the DevConsole onto a Text component. To use, simply assign "DevConsoleOutput" to a Text Component that represents the output-terminal. Assign "DevConsoleInput" to an inputfield representing the user input. To submit a command, the user may use the keybinding specified as the /settings/core/devConsole/submitConsoleKey setting. More...
Public Member Functions | |
void | run_command () |
Run the command that is written in DevConsoleInput. More... | |
Public Member Functions inherited from AVR.Core.AVR_Behaviour | |
virtual void | OnDestroy () |
Public Attributes | |
Text | DevConsoleOutput |
InputField | DevConsoleInput |
Private Member Functions | |
void | Awake () |
void | OnEnable () |
void | FocusInputField () |
void | OnGUI () |
Private Attributes | |
int | history_index = 0 |
KeyCode | toggleKey |
KeyCode | offKey |
KeyCode | submitKey |
Additional Inherited Members | |
Protected Attributes inherited from AVR.Core.AVR_Behaviour | |
AVR_PlayerRig | playerRig => AVR_PlayerRig.Instance |
The current AVR_PlayerRig instance in the scene More... | |
AVR_Root | root => AVR_Root.Instance |
The current AVR_Root instance in the scene More... | |
bool | vrEnabled => UnityEngine.XR.XRSettings.enabled |
True if the application is running as a VR/XR application More... | |
Mirrors the output of the DevConsole onto a Text component. To use, simply assign "DevConsoleOutput" to a Text Component that represents the output-terminal. Assign "DevConsoleInput" to an inputfield representing the user input. To submit a command, the user may use the keybinding specified as the /settings/core/devConsole/submitConsoleKey setting.
Definition at line 16 of file AVR_DevConsoleMirror.cs.