Cleanup and fix some small issues with scroll pool

This commit is contained in:
Sinai committed 2021-04-21 23:07:15 +10:00
1 parent 0a9639f8a9
commit edbb9a2882
12 files changed
+174 -138

No files matched your search

@@ -76,6 +76,8 @@ namespace UnityExplorer.UI.Widgets
Scroller.Initialize(this, prototype);
}
public void DisableCell(ICell cell, int index) => cell.Disable();
public ICell CreateCell(RectTransform cellTransform)
{
var nameButton = cellTransform.Find("NameButton").GetComponent<Button>();