コード例 #1
0
 public override bool InterceptEvent(EventBase evt)
 {
     evt.eventLogger = m_Debugger;
     m_EventTimestampDictionary[evt.eventId] = (long)(Time.realtimeSinceStartup * 1000.0f);
     m_Debugger.BeginProcessEvent(evt, MouseCaptureController.mouseCapture);
     return(false);
 }
コード例 #2
0
        public override bool InterceptEvent(EventBase evt)
        {
            evt.eventLogger = m_Debugger;
            m_EventTimestampDictionary[evt.eventId] = (long)(Time.realtimeSinceStartup * 1000.0f);
            IEventHandler capture = panel?.GetCapturingElement(PointerId.mousePointerId);

            m_Debugger.BeginProcessEvent(evt, capture);
            return(false);
        }