void AddIMGUICall(EventBase evt, long duration, IEventHandler mouseCapture) { if (m_Log) { var callObject = new EventDebuggerCallTrace(panel, evt, 0, "OnGUI", false, false, false, duration, mouseCapture); List <EventDebuggerCallTrace> list; if (m_EventCalledObjects.ContainsKey(panel)) { list = m_EventCalledObjects[panel]; } else { list = new List <EventDebuggerCallTrace>(); m_EventCalledObjects.Add(panel, list); } list.Add(callObject); } }
void AddCallObject(int cbHashCode, string cbName, EventBase evt, bool propagationHasStopped, bool immediatePropagationHasStopped, bool defaultHasBeenPrevented, long duration, IEventHandler mouseCapture) { if (m_Log) { var callObject = new EventDebuggerCallTrace(panel, evt, cbHashCode, cbName, propagationHasStopped, immediatePropagationHasStopped, defaultHasBeenPrevented, duration, mouseCapture); List <EventDebuggerCallTrace> list; if (m_EventCalledObjects.ContainsKey(panel)) { list = m_EventCalledObjects[panel]; } else { list = new List <EventDebuggerCallTrace>(); m_EventCalledObjects.Add(panel, list); } list.Add(callObject); } }
void AddIMGUICall(EventBase evt, long duration, IEventHandler mouseCapture) { if (suspended) { return; } if (m_Log) { var callObject = new EventDebuggerCallTrace(panel, evt, 0, "OnGUI", false, false, false, duration, mouseCapture); if (!m_EventCalledObjects.TryGetValue(panel, out var list)) { list = new List <EventDebuggerCallTrace>(); m_EventCalledObjects.Add(panel, list); } list.Add(callObject); } }
void AddCallObject(int cbHashCode, string cbName, EventBase evt, bool propagationHasStopped, bool immediatePropagationHasStopped, bool defaultHasBeenPrevented, long duration, IEventHandler mouseCapture) { if (suspended) { return; } if (m_Log) { var callObject = new EventDebuggerCallTrace(panel, evt, cbHashCode, cbName, propagationHasStopped, immediatePropagationHasStopped, defaultHasBeenPrevented, duration, mouseCapture); if (!m_EventCalledObjects.TryGetValue(panel, out var list)) { list = new List <EventDebuggerCallTrace>(); m_EventCalledObjects.Add(panel, list); } list.Add(callObject); } }
private void AddIMGUICall(EventBase evt, long duration, IEventHandler mouseCapture) { bool log = this.m_Log; if (log) { EventDebuggerCallTrace item = new EventDebuggerCallTrace(this.panel, evt, 0, "OnGUI", false, false, false, duration, mouseCapture); bool flag = this.m_EventCalledObjects.ContainsKey(this.panel); List <EventDebuggerCallTrace> list; if (flag) { list = this.m_EventCalledObjects[this.panel]; } else { list = new List <EventDebuggerCallTrace>(); this.m_EventCalledObjects.Add(this.panel, list); } list.Add(item); } }
private void AddCallObject(int cbHashCode, string cbName, EventBase evt, bool propagationHasStopped, bool immediatePropagationHasStopped, bool defaultHasBeenPrevented, long duration, IEventHandler mouseCapture) { bool log = this.m_Log; if (log) { EventDebuggerCallTrace item = new EventDebuggerCallTrace(this.panel, evt, cbHashCode, cbName, propagationHasStopped, immediatePropagationHasStopped, defaultHasBeenPrevented, duration, mouseCapture); bool flag = this.m_EventCalledObjects.ContainsKey(this.panel); List <EventDebuggerCallTrace> list; if (flag) { list = this.m_EventCalledObjects[this.panel]; } else { list = new List <EventDebuggerCallTrace>(); this.m_EventCalledObjects.Add(this.panel, list); } list.Add(item); } }