Assets/Watson/Scripts/Debug/DebugConsole.cs
/// <summary>
/// Event handler for input end.
/// </summary>
Event handler for input end.
Event handler for input end .
public void OnEndEdit()
        {
            if (m_CommandInput != null)
            {
                EventManager.Instance.SendEvent("OnDebugCommand", m_CommandInput.text);
                m_CommandInput.text = string.Empty;
                m_CommandInput.gameObject.SetActive(false);   
                ActiveInput = false;
                KeyEventManager.Instance.Active = true;
                if (m_MicWidget != null)
                    m_MicWidget.Active = true;
            }
        }
public void OnEndEdit ( ) { if ( m_CommandInput != null ) { EventManager . Instance . SendEvent ( " " , m_CommandInput . text ) ; m_CommandInput . text = string . Empty ; m_CommandInput . gameObject . SetActive ( false ) ; ActiveInput = false ; KeyEventManager . Instance . Active = true ; if ( m_MicWidget != null ) m_MicWidget . Active = true ; } }
Event handler for input end.
Event handler for input end .
// hide the input      // restore the key manager state //	turn on mic