yyl
1 天以前 98d367b0732a5eaa2105f1c285ad040b9fa40a07
Main/System/Scroll/ScrollerController.cs
@@ -13,8 +13,8 @@
    LockVerticalTop,
    LockVerticalBottom,
    KeepHorizon,
    KeepVertical,
    KeepVertical2,
    KeepVertical,   //在滚动视图内容更新或刷新时,保持当前位置不变 置顶显示
    KeepVertical2,  //在滚动视图内容更新或刷新时,保持当前位置不变 置底显示
}
public class ScrollerController : MonoBehaviour, IEnhancedScrollerDelegate {
@@ -110,7 +110,7 @@
    }
    // 获取总的Cell数目(含不显示的)
    public int GetNumberOfCells()
    public int GetCellTotalCount()
    {
        return _data.Count;
    }