daniel metlitski
daniel metlitski

Reputation: 777

How to make a Unity Scroll Rect NOT overflow?

I have a scroll rect that has input fields in it, and I would like it so that the user only sees things that are currently in it. Right now it is overflowing and has everything in it going out below it. I would like it so that these bottom fields do not show until the user scrolls down, the only thing in view should be what is currentlyenter image description here

Upvotes: 3

Views: 3038

Answers (1)

Sourav Paul Roman
Sourav Paul Roman

Reputation: 696

Use a mask component with your Scroll Rect holding object. Either Rect Mask 2D or Mask.

enter image description here

Upvotes: 10

Related Questions