rename "InfiniteScrollRect" to "ScrollPool"

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

View File

@ -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;
}