A rudimentary UI version of the AVR_DevConsole. If you wish to implement a better one, take a look at AVR_DevConsoleMirror. More...
Public Attributes | |
GUIStyle | style |
Color | backgroundColor = new Color(0.1f, 0.1f, 0.1f, 1.0f) |
Color | textBackgroundColor = new Color(0.07f, 0.07f, 0.07f, 1.0f) |
Vector2 | position = new Vector2(0, 0) |
Vector2 | size = new Vector2(820, 420) |
Private Member Functions | |
void | Awake () |
void | runCommand () |
void | OnGUI () |
Private Attributes | |
string | cmd |
Vector2 | scrollPosition |
Texture2D | background |
Texture2D | textBackground |
KeyCode | toggleKey |
KeyCode | offKey |
KeyCode | submitKey |
bool | active = false |
int | history = -1 |
Additional Inherited Members | |
Public Member Functions inherited from AVR.Core.AVR_Behaviour | |
virtual void | OnDestroy () |
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... | |
A rudimentary UI version of the AVR_DevConsole. If you wish to implement a better one, take a look at AVR_DevConsoleMirror.
Definition at line 10 of file AVR_BasicDevConsoleUI.cs.