Wiki

Clone wiki

Unity-UI-Extensions / Controls / MultiTouchScrollRect

#MultiTouch Scroll Rect

Fixed version of the scroll rect to properly handle multiple touches

Contents

1 Overview

2 Properties

3 Usage

4 Video Demo

5 See also

6 Credits and Donation

7 External links


Overview

Unity's ScrollRect is behaving erratic when more than one touch is used for drag. It seems to be a bug with the UI system as it jumps between fingers (to moving one). This script fixes it by blocking event data based on touch id.


Properties

No additional properties, inherits from the original ScrollRect


Usage

Simply replace the original ScrollRect with the new MultiTouchScrollRect: Add Component -> UI -> Extensions -> MultiTouchScrollRect


Video Demo

None, no change to Scroll Rect


See also


Credits and Donation

Erdener Gonenc - @PixelEnvision


External links

Sourced from


Updated