Author Topic: scroll draggable panel to position  (Read 1256 times)

Lando100

  • Guest
scroll draggable panel to position
« on: September 30, 2013, 07:19:50 AM »
was wondering if anyone could help, I have the following hierarchy:

-UiPanel
      -UIPanel with UIDraggablePanel
           - UIpanel with UIGrid and UICenterOnChild
               - all the grid children that have a collider and UIDragPanelContents


works great, now i want to tap one  of the children and for that to scroll to the center, was wondering if there was a clean solution for this? currently i am having to take note of the position on the draggable panel when each child is in the center and then when a child is pressed in snaps to the relevant position. Not very eligant and a bit buggy at times, any help would be much appreciated.

Thanks
Lando

Lando100

  • Guest
Re: scroll draggable panel to position
« Reply #1 on: September 30, 2013, 09:39:55 AM »
solved it, SpringPanel was exactly what i was looking for  ;D