Example #1
0
        private protected override void OnTouchesEndedUI(List <CCTouch> touches, CCEvent touchEvent)
        {
            // start inert scrolling
            Scroller.OnTouchesEnded(touches, touchEvent);
            switch (touches.Count)
            {
            case 1:
            {
            }
            break;

            default:
                break;
            }
        }
Example #2
0
        private protected void OnTouchesEnded(List <CCTouch> touches, CCEvent touchEvent)
        {
            if (!Pressed)
            {
                return;
            }
            // start inert scrolling
            if (Scroller != null)
            {
                Scroller.OnTouchesEnded(touches, touchEvent);
            }
            switch (touches.Count)
            {
            case 1:
            {
            }
            break;

            default:
                break;
            }
            Pressed = false;
        }
Example #3
0
 private protected override void OnTouchesEndedUI(List <CCTouch> touches, CCEvent touchEvent)
 {
     // start inert scrolling
     Scroller.OnTouchesEnded(touches, touchEvent);
 }