Grid/ScrollView 回滚到顶部(初始位置)

	public static void GridReposition(UIGrid grid)
	{
		if(grid != null)
		{
			grid.Reposition();
		}
	} // grid到顶部

	public static void ScrollResetPosition(UIScrollView scroll)
	{
		if(scroll != null)
		{
			scroll.ResetPosition();
		}
	}//scrollView回到顶部

你可能感兴趣的:(NGUI)