Wiki
Clone wikiUnity-UI-Extensions / Controls / ScrollConflictManager
Scroll Conflict Manager
==============
Resolves dragging issues with nested Scroll Rect's
Contents
1 Overview
3 Methods
4 Usage
5 Demo
6 See also
Overview
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.
Properties
The properties of the ScrollrectConflictManager control are as follows:
Property | Description |
---|---|
Parent Scroll Rect | The Rect Transform of the parent Scroll Rect |
Methods
Method | Arguments | Description |
---|---|---|
SetParentScrollRect | ScrollRect | Resets the parent scroll rect for the manager and re-initializes the dependencies |
Usage
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".
Video Demo
Click to play
See also
- Scroll Rect Infinite
- Scroll Rect Magnetic Infinite
- Scroll Rect Occlusion
- Scroll Rect Tweener
- Scroll Rect Linker
Credits and Donation
Credit srinivas sunil
External links
Sourced from - https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/pull-requests/21/develop_53/diff
Updated