protected void ProcessMouseEvent(int id) { PointerInputModule.MouseState pointerEventData = this.GetMousePointerEventData(id); PointerInputModule.MouseButtonEventData eventData = pointerEventData.GetButtonState((PointerEventData.InputButton) 0).get_eventData(); RaycastResult pointerCurrentRaycast1 = ((PointerEventData)eventData.buttonData).get_pointerCurrentRaycast(); this._currentFocusedGameObject = ((RaycastResult) ref pointerCurrentRaycast1).get_gameObject(); this.ProcessMousePress(eventData); this.ProcessMove((PointerEventData)eventData.buttonData); this.ProcessDrag((PointerEventData)eventData.buttonData); this.ProcessMousePress(pointerEventData.GetButtonState((PointerEventData.InputButton) 1).get_eventData()); this.ProcessDrag((PointerEventData)pointerEventData.GetButtonState((PointerEventData.InputButton) 1).get_eventData().buttonData); this.ProcessMousePress(pointerEventData.GetButtonState((PointerEventData.InputButton) 2).get_eventData()); this.ProcessDrag((PointerEventData)pointerEventData.GetButtonState((PointerEventData.InputButton) 2).get_eventData().buttonData); Vector2 scrollDelta = ((PointerEventData)eventData.buttonData).get_scrollDelta(); if (Mathf.Approximately(((Vector2) ref scrollDelta).get_sqrMagnitude(), 0.0f)) { return; } RaycastResult pointerCurrentRaycast2 = ((PointerEventData)eventData.buttonData).get_pointerCurrentRaycast(); ExecuteEvents.ExecuteHierarchy <IScrollHandler>(ExecuteEvents.GetEventHandler <IScrollHandler>(((RaycastResult) ref pointerCurrentRaycast2).get_gameObject()), (BaseEventData)eventData.buttonData, (ExecuteEvents.EventFunction <M0>)ExecuteEvents.get_scrollHandler()); }