Skip to content

Latest commit

 

History

History
98 lines (64 loc) · 2.08 KB

File metadata and controls

98 lines (64 loc) · 2.08 KB
layout control-ugui
title Scroll Rect Linker
description Synchronises multiple ScrollRect components so they scroll in tandem.
category Layout
permalink /ugui/controls/scroll-rect-linker/
has_video false
tags
layout
scroll
sync
linked
scrollrect

ScrollRectLinker

ScrollRect Linker script, enable multiple Scroll Rects to move together


Contents

1 Overview

2 Properties

3 Methods

4 Usage

5 Video Demo

6 See also

7 Credits and Donation

8 External links


Overview

The Scroll Rect Linker script allows you to control another Scroll Rect's position from another Scroll Rect.


Properties

The properties of the Scroll Rect Linker control are as follows:

Property Description
Clamp Clamp the linked scroll values
Controlling Scroll Rect The parent Scroll Rect to retrieve scrolling changes from.

Methods

This component does not expose public methods beyond inherited behaviour.


Usage

Simply add the default Scroll Rect Linker component to a Scroll Rect using:

"Add Component -> UI -> Extensions -> ScrollRectLinker"

Then drag the parent Scroll Rect to the appropriate property.


Video Demo

Click to play

Scroll Rect Linker


See also


Credits and Donation

Credit Martin Sharkbomb


External links

Sourced from - http://www.sharkbombs.com/2015/08/26/unity-ui-scrollrect-tools/