UI Scroll Rect Occlusion
Disables off-screen children in a ScrollRect to reduce overdraw cost.
UI_ScrollRectOcclusion
Disables the objects outside of the scrollrect viewport. Useful for scrolls with lots of content
Contents
1 Overview
3 Methods
4 Usage
6 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. |
Methods
This component does not expose public methods beyond inherited behaviour.
Usage
Simply add the default Scroll Rect Occlusion component to a Scroll Rect using:
“Add Component -> 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
