protected override void UpdateScreenSlide()
    {
        if (Input.touchCount > 0)
        {
            Touch currentTouch = Input.GetTouch(0);

            switch (currentTouch.phase)
            {
            case TouchPhase.Began:
                base.ScreenSlideBeganPosition = currentTouch.position;
                break;

            case TouchPhase.Ended:
                float distance = currentTouch.position.x - base.ScreenSlideBeganPosition.x;

                if (distance > base.ScreenSlideDistance)
                {
                    CallOnScreenSlide.SafeInvoke(1);
                }
                else if (distance < -base.ScreenSlideDistance)
                {
                    CallOnScreenSlide.SafeInvoke(-1);
                }

                break;
            }
        }
    }
    protected override void UpdateScreenSlide()
    {
        if (Input.GetMouseButtonDown(0))
        {
            base.ScreenSlideBeganPosition = Input.mousePosition;
        }
        else if (Input.GetMouseButtonUp(0))
        {
            float distance = Input.mousePosition.x - base.ScreenSlideBeganPosition.x;

            if (distance > base.ScreenSlideDistance)
            {
                CallOnScreenSlide.SafeInvoke(1);
            }
            else if (distance < -base.ScreenSlideDistance)
            {
                CallOnScreenSlide.SafeInvoke(-1);
            }
        }
    }