How to stop Unity ScrollRect scrolling for ever

Опубликовано: 01 Октябрь 2024
на канале: TYNEPUNK
5,553
88

I keep hitting this issue so I made a quick video to explain how to fix in 1 minute. Short answer is set the scrollview movement type to "clamped" then on your "content" object add a horizontal layout group (or vertical if youre making a vertical list) and then add a content size fitter (set whichever direction you want to scroll to preferred size, and the other to unconstrained). This allows you to scroll the content as expected!.. Join my mailing list to stay up to date on my new game releases. https://sendfox.com/gareth.murfin or checkout my company http://www.tynepunk.com