ScrollPaneScrollToView Method (Rect, Boolean, Boolean) |
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void ScrollToView(
Rect rect,
bool ani,
bool setFirst
)
Parameters
- rect
- Type: Rect
Rect in local coordinates - ani
- Type: SystemBoolean
If moving to target position with animation - setFirst
- Type: SystemBoolean
If true, scroll to make the target on the top/left; If false, scroll to make the target any position in view.
See Also