mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 18:08:05 +08:00
Cleanup
This commit is contained in:
1 parent
2378925a8b
commit
74ff1d8f01
14 files changed
+97
-259
No files matched your search
@@ -49,7 +49,7 @@ namespace UnityExplorer.UI.Inspectors
|
||||
|
||||
TransformTree.Rebuild();
|
||||
|
||||
ComponentList.ScrollPool.Rebuild();
|
||||
ComponentList.ScrollPool.Refresh(true, true);
|
||||
UpdateComponents();
|
||||
}
|
||||
|
||||
@@ -57,12 +57,12 @@ namespace UnityExplorer.UI.Inspectors
|
||||
{
|
||||
base.OnReturnToPool();
|
||||
|
||||
// release component and transform lists
|
||||
this.TransformTree.ScrollPool.ReturnCells();
|
||||
this.TransformTree.ScrollPool.SetUninitialized();
|
||||
|
||||
this.ComponentList.ScrollPool.ReturnCells();
|
||||
this.ComponentList.ScrollPool.SetUninitialized();
|
||||
//// release component and transform lists
|
||||
//this.TransformTree.ScrollPool.ReleaseCells();
|
||||
//this.TransformTree.ScrollPool.SetUninitialized();
|
||||
//
|
||||
//this.ComponentList.ScrollPool.ReleaseCells();
|
||||
//this.ComponentList.ScrollPool.SetUninitialized();
|
||||
}
|
||||
|
||||
private float timeOfLastUpdate;
|
||||
@@ -150,7 +150,7 @@ namespace UnityExplorer.UI.Inspectors
|
||||
_componentEntries.Add(comp);
|
||||
|
||||
ComponentList.RefreshData();
|
||||
ComponentList.ScrollPool.RefreshCells(true);
|
||||
ComponentList.ScrollPool.Refresh(true);
|
||||
}
|
||||
|
||||
protected override void OnCloseClicked()
|
||||
|
||||
Reference in new issue
Block a user