Wiki
Clone wikiUnity-UI-Extensions / Controls / UI_ScrollRectOcclusion
UI_ScrollRectOcclusion
==============
Disables the objects outside of the scrollrect viewport. Useful for scrolls with lots of content
Contents
1 Overview
3 Usage
5 See also
Overview
The Scroll Rect occlusion script enables and disables Content child items that are outside the visible area of the Scroll Rect.
It allows you determine whether it starts on awake or via code.
Properties
The properties of the Scroll Rect Occlusion component are as follows:
Property | Description |
---|---|
Init By User | Should this occlude automatically or only on request. |
Usage
Simply add the default Scroll Rect Occlusion component to a Scroll Rect using "UI / Extensions / UI ScrollRect Occlusion" in the "Component" menu.
It is also available as a Game Component menu in "UI / Extensions / UI ScrollRect Occlusion".
Video Demo
Click to play
See also
Credits and Donation
Credit Tomasz Schelenz
External links
Sourced from - https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/82/scrollrectocclusion
Updated