attempt at auto-increasing pool size, not quite working properly

This commit is contained in:
Sinai
2021-04-21 21:04:26 +10:00
parent b32675e3b1
commit 0a9639f8a9
8 changed files with 157 additions and 101 deletions

View File

@ -70,8 +70,10 @@ namespace UnityExplorer.UI.Widgets
{
yield return null;
var prototype = TransformCell.CreatePrototypeCell(Scroller.UIRoot);
RefreshData();
Scroller.Initialize(this);
Scroller.Initialize(this, prototype);
}
public ICell CreateCell(RectTransform cellTransform)