Unity's grid layout operates differently than vertical or horizontal layouts. Child items of a grid layout can be scrolled within an area, and overflow can be masked.
Videos:
Layout Basics: • Unity UI Layout Basics
Downloads:
Unity downloads Archive: https://unity.com/releases/editor/arc...
If this was helpful, consider leaving a comment or supporting me on Ko-fi: https://ko-fi.com/classoutside
===== TIMESTAMPS =====
0:00 Introduction
0:10 Creating a new 2D Unity project
0:22 Adding and configuring the Canvas
0:52 Creating and setting up the Scroll View
1:37 Masking content outside the scroll area
2:14 Creating the Grid View container
2:20 Adding ContentSizeFitter and anchoring the grid
2:59 Adding GridLayoutGroup and child items
3:38 Adjusting grid cell size, spacing, and padding
4:07 Linking grid to Scroll Rect and testing scroll
4:21 Final test and wrap up