Beispiel #1
0
    // Update is called once per frame
    void Update()
    {
        if (m_bInit == false)
        {
            return;
        }
        try
        {
            m_fGameTime += Time.deltaTime;
            if (m_fCurrentReConnectTime > 0)
            {
                m_fCurrentReConnectTime -= Time.deltaTime;
            }

            if (m_socketMGR)
            {
                m_socketMGR.updateManager();
            }
            if (m_uiMGR)
            {
                m_uiMGR.updateManager();
            }
            //m_ingameMGR.updateManager();
            if (m_inputKeyMGR)
            {
                ((inputKeyManager)m_inputKeyMGR).checkInputKey();
            }
        }
        catch (Exception ex)
        {
            //writeErrorLog(ex.Message);
        }
    }