Example #1
0
    /// <summary>
    /// 重置位置與Item資料
    /// </summary>
    protected void ResetGrid()
    {
        CurrentFirstIndex = 0;
        UpdateMaxFirstIndex();

        ScrollView.DisableSpring();
        ScrollViewPanel.clipOffset = Vector2.zero;
        ScrollViewPanel.transform.localPosition = PanelOriginalPos;

        ResetItems();
    }