rename "InfiniteScrollRect" to "ScrollPool"

This commit is contained in:
Sinai committed 2021-04-17 04:11:45 +10:00
1 parent 2e5fb72716
commit bcc89455a7
7 files changed
+16 -14

No files matched your search

@@ -9,7 +9,7 @@ using UnityExplorer.UI.Widgets;
namespace UnityExplorer.UI.Widgets
{
public class TransformTree : IListDataSource
public class TransformTree : IPoolDataSource
{
public Func<IEnumerable<GameObject>> GetRootEntriesMethod;
@@ -33,7 +33,7 @@ namespace UnityExplorer.UI.Widgets
}
private string currentFilter;
internal InfiniteScrollRect Scroller;
internal ScrollPool Scroller;
internal readonly List<CachedTransform> displayedObjects = new List<CachedTransform>();
@@ -44,7 +44,7 @@ namespace UnityExplorer.UI.Widgets
public int ItemCount => displayedObjects.Count;
public TransformTree(InfiniteScrollRect infiniteScroller)
public TransformTree(ScrollPool infiniteScroller)
{
Scroller = infiniteScroller;
}