Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

ScrollRect.LateUpdate is undoing my attempts to manually scroll it

$
0
0
Here's my situation: I have an object with a ScrollView, which holds an object called OutputText that has a Text component and a ContentSizeFitter. I periodically add text to this Text component, the ContentSizeFitter should make the object larger to accommodate all the text, and then I can scroll it with an associated scroll bar. This all works perfectly.

What I also do, is attempt to scroll the ScrollView to the bottom after I add some text. To do this, I grab the scrollRect, and set...

ScrollRect.LateUpdate is undoing my attempts to manually scroll it

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>