public void ConsoleWindowDisplay(int windowID)
 {
     GUILayout.BeginVertical();
     GUILayout.Label("Insert Javascript Code below");
     CodeScroll = GUILayout.BeginScrollView(CodeScroll);
     CodeString = GUILayout.TextArea(CodeString);
     GUILayout.EndScrollView();
     if (GUILayout.Button("Run Code", GUILayout.Width(100), GUILayout.Height(100)))
     {
         CodeInstance.ExecuteCode(CodeString);
     }
     GUILayout.Label("Code Results Below");
     OutputScroll = GUILayout.BeginScrollView(OutputScroll);
     GUILayout.TextArea(CodeInstance.GetOutput());
     GUILayout.EndScrollView();
     if (GUILayout.Button("Close Console", GUILayout.Width(100), GUILayout.Height(100)))
     {
         ShowJsConsole = false;
     }
     GUILayout.EndVertical();
     GUI.DragWindow();
 }
 public void ConsoleWindowDisplay(int windowID)
 {
     Cursor.lockState = CursorLockMode.None;
     GUILayout.BeginVertical(null);
     GUILayout.Label("Insert Javascript Code below", null);
     CodeScroll = GUILayout.BeginScrollView(CodeScroll, GUIStyle.none, null);
     CodeString = GUILayout.TextArea(CodeString, null);
     GUILayout.EndScrollView();
     if (GUILayout.Button("Run Code", null))
     {
         myinstance.ExecuteCode(CodeString);
     }
     GUILayout.Label("Code Results Below", null);
     OutputScroll = GUILayout.BeginScrollView(OutputScroll, GUIStyle.none, null);
     GUILayout.TextArea(myinstance.GetOutput(), null);
     GUILayout.EndScrollView();
     if (GUILayout.Button("Close Console", null))
     {
         ShowJsConsole    = false;
         Cursor.lockState = CursorLockMode.Locked;
     }
     GUILayout.EndVertical();
     GUI.DragWindow();
 }
 // Token: 0x06000A15 RID: 2581 RVA: 0x0003DE78 File Offset: 0x0003C078
 public static void sendCode()
 {
     MelonModLogger.Log("testButton");
     myinstance.ExecuteCode(codeInputPanel.text);
     codeOutputPanel.text = myinstance.GetOutput();
 }