How to use the Scroll view UI element in Unity?

Inserting a Scroll view
  • Add a “Vertical layout group” component to the content gameObject. It will automatically adjust the position of items inside the content object.
  • Add a “Content size fitter” component to the same gameObject. Select the Horizontal and Vertical Fit drop downs to “Preferred size”.




Computer Science Engineer and Cisco Instructor

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Containerize a Go Web Application

A simple example on Snowflake Steams and Tasks

How to Fix OBS Issue: Display Capture Not Showing Screen Input

You Don’t Need All That Complex/Expensive/Distracting Infrastructure

Custom 404 page for GitHub Pages

Personal Brand — Week Two

What Is Windows Web Hosting Advantages and Disadvantages?

How to Extend Django User Model

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ouzani Abd Raouf

Ouzani Abd Raouf

Computer Science Engineer and Cisco Instructor

More from Medium

Adding Occlusion Culling to our URP project

Improving the Quality of your Game

Guide to Making a Beautiful Game: Vertex Displacement in HDRP

Creating an Office Den in Unity Part 2: Lights, Cookies and Emissions