Scroll View

scroll - My Scroll

Example: link.

1

To have the asset automatically add a ScrollView to your Unity scene, the hierarchy of your ScrollView must match the one shown in the screenshot.

2

The component with the "scroll" tag is the parent component, onto which the "ScrollRect" script will be added during the Unity import.

Disable the "Clip Content" option for it.

3

On the Viewport, you need to configure the scroll prototype, where you can set the Overflow property. Supported "Overflow" options: • Horizontal • Vertical • Both directions The "Position" property configuration is currently not supported.

The Viewport should be the same size as the parent component with the "scroll" tag. Disable the "Clip Content" option for it. The RectMask2D component will be automatically added to the Viewport during import (analogous to Figma's Clip Content).

4

Your content, which will be scrolled, should be placed inside the Content object. Disable the "Clip Content" option for it. The Content must always be larger than the Viewport.

5

Regardless of the Constraints you set for these components, the Figma Converter will automatically set the correct Constraints during import.

Last updated