public void OnUpdate(float elapseSeconds, float realElapseSeconds)
            {
                if (m_LastLockScroll != m_LockScroll)
                {
                    m_LastLockScroll = m_LockScroll;
                    DebuggerSetting.SetBool("Debugger.Console.LockScroll", m_LockScroll);
                }

                if (m_LastInfoFilter != m_InfoFilter)
                {
                    m_LastInfoFilter = m_InfoFilter;
                    DebuggerSetting.SetBool("Debugger.Console.InfoFilter", m_InfoFilter);
                }

                if (m_LastWarningFilter != m_WarningFilter)
                {
                    m_LastWarningFilter = m_WarningFilter;
                    DebuggerSetting.SetBool("Debugger.Console.WarningFilter", m_WarningFilter);
                }

                if (m_LastErrorFilter != m_ErrorFilter)
                {
                    m_LastErrorFilter = m_ErrorFilter;
                    DebuggerSetting.SetBool("Debugger.Console.ErrorFilter", m_ErrorFilter);
                }

                if (m_LastFatalFilter != m_FatalFilter)
                {
                    m_LastFatalFilter = m_FatalFilter;
                    DebuggerSetting.SetBool("Debugger.Console.FatalFilter", m_FatalFilter);
                }
            }
 public void Initialize(params object[] args)
 {
     Application.logMessageReceived += OnLogMessageReceived;
     m_LockScroll    = m_LastLockScroll = DebuggerSetting.GetBool("Debugger.Console.LockScroll", true);
     m_InfoFilter    = m_LastInfoFilter = DebuggerSetting.GetBool("Debugger.Console.InfoFilter", true);
     m_WarningFilter = m_LastWarningFilter = DebuggerSetting.GetBool("Debugger.Console.WarningFilter", true);
     m_ErrorFilter   = m_LastErrorFilter = DebuggerSetting.GetBool("Debugger.Console.ErrorFilter", true);
     m_FatalFilter   = m_LastFatalFilter = DebuggerSetting.GetBool("Debugger.Console.FatalFilter", true);
 }