Author Topic: How to control the scrollview(center on item) move to the target item?  (Read 1446 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
How to control the scrollview(center on item) move to the target item?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to control the scrollview(center on item) move to the target item?
« Reply #1 on: January 13, 2014, 05:52:09 PM »
UICenterOnChild.CenterOn(transform).

Look at UICenterOnClick for an example.