- Home /
Question by
MsAnonymous · Apr 18, 2020 at 03:45 PM ·
textrecttransformoffsetpanelscrolling
How to get offset of a ScrollRect?
I implemented a Scrolling area with a text inside and I try to get the value of the scrolled text. My component looks like this:
-panel with mask --image with ScrollRect ----text --scrollbar
So for example I have 4 paragraphs and I want to check when each of them are into view. The problem is I can't get the values Top / Bottom ot the RectTransform of the text, the only values changing on scroll. Any ideas how to solve ths? Thank you a lot!
Comment