mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-06 13:22:23 +08:00
rename "InfiniteScrollRect" to "ScrollPool"
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user