Vector2 newPos = new Vector2(0, scrollerDist - 0.32f);
Debug.Log(scrollerDist - 0.32f);
scroller.position = newPos;
The object’s Y position comes out at -17, instead of the small decimal it needs to be. Anybody know why?
Vector2 newPos = new Vector2(0, scrollerDist - 0.32f);
Debug.Log(scrollerDist - 0.32f);
scroller.position = newPos;
The object’s Y position comes out at -17, instead of the small decimal it needs to be. Anybody know why?
scrollerDist is a float that goes from 0 → 0.64 repeatedly