ScrollPaneScrollToView Method (GObject, Boolean, Boolean) |
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void ScrollToView(
GObject obj,
bool ani,
bool setFirst
)
Parameters
- obj
- Type: FairyGUIGObject
obj can be any object on stage, not limited to the direct child of this container. - 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