Author Topic: How to detect current item in Grid?  (Read 2429 times)

johnnydj

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
How to detect current item in Grid?
« on: May 14, 2014, 09:56:03 AM »
So I have a grid with 4 items. each item is in fullscreen and I can scroll between them.
What I want to do, is when I scroll to the last item in my grid, that load up a scene.
How can I detect which item I currently have in view?
I am also using UICenterOnChild. Is there a way to detect from there?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to detect current item in Grid?
« Reply #1 on: May 14, 2014, 11:13:01 PM »
UICenterOnChild.centeredObject