728x90

 

 

스크롤바의 value가 0~1이 아닌건, pivot이 0.5로 되어 있어서 일 것이다.

그런 경우에서 스크롤바를 위 아래로 내려야 한다면, 

 

public ScrollRect scrollRect;
scrollRect.normalizedPosition = new Vector2(0, 1);

 

Vector2(0,0)은 가장 아래로 (0,1)은 가장 위로.

+ Recent posts