private void Update() { if (m_Keyboard != null && m_Keyboard.done) { commandLine = m_Keyboard.text; m_Keyboard = null; DebugConsoleCore.CheckString_Mobile(commandLine, EraseString); } }
public void OnGUI() { commandLine = GUI.TextField(m_Rect, commandLine, MAX_LENGTH, m_Style); DebugConsoleCore.CheckString_Standalone(commandLine, EraseString); }