C# Class UIFocusOnTarget, LoopScorllViewForNGUI

Focus target in scroll view
Datei anzeigen Open project: tinyantstudio/LoopScorllViewForNGUI Class Usage Examples

Public Methods

Method Description
FocusOnTarget ( UIWidget, pivot, UIScrollView, scrollView, Transform target ) : void

Private Methods

Method Description
MovePanelToTargetPos ( UIScrollView, mScrollView, Transform target, Vector3 panelPos ) : void
SetPanelPosition ( Transform panelTrans, Vector3 localOffset, UIPanel, targetPsanel ) : void

Method Details

FocusOnTarget() public static method

public static FocusOnTarget ( UIWidget, pivot, UIScrollView, scrollView, Transform target ) : void
pivot UIWidget,
scrollView UIScrollView,
target Transform
return void