Relative Content

Tag Archive for unity-game-engineuser-interface

Why does the scrollbar value keep resetting to 0?

I have implemented a feature in my game where users can scroll horizontally between 5 pages. The third page is the middle one, so I want to set the starting page to the third page. However, the scrollbar’s value keeps resetting to 0.

Why does the scrollbar value keep resetting to 0?

I have implemented a feature in my game where users can scroll horizontally between 5 pages. The third page is the middle one, so I want to set the starting page to the third page. However, the scrollbar’s value keeps resetting to 0.

Messing up scaling on UI on Unity

I don’t know how to use Scale while securing the position at the same time.
I am messing it up. When I would scale up, either it will come out big if I choose Scale Anchor or too small If I use Corner as Anchor Point.
If I scale based on Position Anchor:(small version):