Cleanup scroll pool, fix some minor things

This commit is contained in:
Sinai
2021-04-22 22:56:46 +10:00
parent 012994ed02
commit feb86a77fd
4 changed files with 12 additions and 17 deletions

View File

@ -73,9 +73,8 @@ namespace UnityExplorer.UI.Panels
contentHolder.SetActive(false);
contentHolder.transform.SetParent(this.content.transform, false);
GameObject.DontDestroyOnLoad(contentHolder);
ExplorerCore.Log("Creating dummy objects");
for (int i = 0; i < 10; i++)
for (int i = 0; i < 150; i++)
{
dummyContents.Add(CreateDummyContent());
}