Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: lime-green.at on February 02, 2013, 09:21:56 AM
-
Heyho,
I want to Tween a UIDraggablePanel, but i have no idea how to do that. My DraggablePanel contains a Map with some Marks on it, as well as an infobox. When you click on one of the marks, the infobox appears. The position of the infobox is the position of the mark with some padding. My problem is, that if the mark is on the bottom of the dragable panel, the infobox reaches out of the displayed area of the panel. What I want to do is move the panel to a certain y value by clicking on one of the marks. The methods MoveRelative and MoveAbsolute are MoveBy functions, i rather need something like MoveTo.
Any suggestions?
Regards
-
Check the "skyrim UI" video I created a while ago, and look at how snapping works in the scroll view example.