Resolves dragging issues with nested Scroll Rect’s
1 Overview
3 Methods
4 Usage
6 See also
The Scroll Conflict Manager solves the dragging issue with child Scroll Rect’s. Natively, nested Scroll Rect’s will only allow scrolling in the direction of a child Scroll Rect. This component solves this problem allowing free movement, locked to the initial direction of the drag.
The properties of the ScrollrectConflictManager control are as follows:
Property | Description |
---|---|
Parent Scroll Rect | The Rect Transform of the parent Scroll Rect |
Method | Arguments | Description |
---|---|---|
SetParentScrollRect | ScrollRect | Resets the parent scroll rect for the manager and re-initializes the dependencies |
Simply add the default Scroll Rect Conflict Manager component to an existing Scroll Rect using “UI / Extensions / Scrollrect Conflict Manager” in the “Component” menu, then assign the parent Scroll Rect to the control.
It is also available as a Game Component menu in “UI / Extensions / Scrollrect Conflict Manager”.
Click to play
Credit srinivas sunil
Sourced from - https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/pull-requests/21/develop_53/diff