Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 78da85a

Browse files
committed
增加部分操作
1 parent d17e1e5 commit 78da85a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GameFramework/Runtime/UI/InfiniteListView.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ enum Layout
3434

3535
private List<InfiniteListItem> _items = new List<InfiniteListItem>();
3636

37+
public List<InfiniteListItem> Items => _items;
38+
3739
private Vector2 _maskSize;
3840

3941
private Vector2 _dragMin = Vector2.zero;
@@ -43,6 +45,7 @@ enum Layout
4345
private Vector2 _renderMax = Vector2.zero;
4446

4547
private float _maxLength;
48+
public float MaxLength => _maxLength;
4649

4750
private List<RectTransform> _renderItems = new List<RectTransform>();
4851
private Queue<RectTransform> _rendererItemCachePool;

0 commit comments

Comments
 (0)