Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: kk on May 24, 2015, 08:41:30 PM

Title: UIScrollView movement issue
Post by: kk on May 24, 2015, 08:41:30 PM
I'm having an issue with the UIScrollView where, instead of the contents of the Scroll View moving around within a stationary panel, the panel itself moves around a clipped group of stationary child elements, like a spotlight moving around a stage.

I looked at the example scene for the UIScrollView, and it *looks* identical in terms of settings, yet clearly I'm missing something.

Hoping the issue has an obvious cause to people more experienced with NGUI.

Thanks much!
Title: Re: UIScrollView movement issue
Post by: hay7728 on May 30, 2015, 07:37:37 PM
Hello,
I’m having this problem too.  It only just started happening a day ago.  I really need help, because it has thoroughly broken my game.
Thx.
Title: Re: UIScrollView movement issue
Post by: kk on June 01, 2015, 05:15:21 PM
Hay7728, do you mean it *was* working for you and then stopped?
Title: Re: UIScrollView movement issue
Post by: ArenMook on June 01, 2015, 09:26:09 PM
Check your anchoring -- in particular on the scroll view itself. Scroll view's contents move by adjusting an offset value on the scroll view's panel, and at the same time adjusting the transform position of the scroll view's panel by the opposite value. If you happened to anchor the scroll view where the position can't be moved or otherwise reset its position, then you can end up with a scroll view that can't scroll.