Author Topic: UIScrollView doubts  (Read 3540 times)

ErMenGoL

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
UIScrollView doubts
« on: May 21, 2015, 05:39:50 AM »
Hi there!
First of all I will apologize for my English and in case any of this questions have been answered (couldn't find them).

My problem is that I'm researching a bit to get two kind of UIScrollViews and I'm a bit lost:

- 1st: UIScrollView with centered child bigger as in the menu of 8 Ball Pool  (https://youtu.be/eIjeuMu6mmM?t=10s) .
Using the "Example 14 -Endless Scroll Views", I've tried adding a "onLeftCenter" delegate to UICenterOnChild. This delegate, as "onCenter", gets a gameObject (in this case the previous centered element). So i make them bigger onCenter, and make them smaller onLeftCenter.
Problem is I want it to be smooth, so when the user scrolls, there's the effect of scaling as the element reaches the center (with what i've tried, I can't do that).
Has anyone tried to do it?

My current objects go as follows:

-> ScrollView
    -> UIWrap + UICenterOnChild + Custom Script with that sets the UICenterOnChild delegates
       -> Scroll cells

- 2nd: UIScrollView where objects follow a SPLine.
This is a doubt I have and want to see if it's possible. Let's guess we want to "simulate" a vertical scroll view as a wheel. When the user moves the wheel, the elements will follow the circular path, instead of appearing/disappearing as a normal scroll view.
Anyone has a idea of how to implement it?

Thanks a lot in advance!