UnityEngine.EventSystems.TouchInputModule.FakeTouches C# (CSharp) Method

FakeTouches() private method

private FakeTouches ( ) : void
return void
        private void FakeTouches()
        {
            PointerInputModule.MouseButtonEventData eventData = this.GetMousePointerEventData(0).GetButtonState(PointerEventData.InputButton.Left).eventData;
            if (eventData.PressedThisFrame())
            {
                eventData.buttonData.delta = Vector2.zero;
            }
            this.ProcessTouchPress(eventData.buttonData, eventData.PressedThisFrame(), eventData.ReleasedThisFrame());
            if (base.input.GetMouseButton(0))
            {
                this.ProcessMove(eventData.buttonData);
                this.ProcessDrag(eventData.buttonData);
            }
        }