the problem of ScrollRect.normalizedPosition

Hi everyone:
I set the ScrollRect.normalizedPosition = 0 in the Start(). but i find the ScrollRect.normalizedPosition’s value will be a random value between 0-1. And when i set the value on the coroutine. It’ OK…
why??

I belive that It’s the inner workings on the ScrollRect, or the parent view. Some things need a frame to work property in the UnityEngine.UI.

Or just change it in LateUpdate(), which is advised when changing visual impacts with the UI System

1 Like