mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
Make abstract UIPanel class, refactor SceneExplorer into that, some fixes
This commit is contained in:
1 parent
c8a64c39b1
commit
1769a4ed8d
10 files changed
+437
-603
No files matched your search
@@ -92,14 +92,15 @@ namespace UnityExplorer.UI.Widgets
|
||||
|
||||
public void RefreshData(bool andReload = false)
|
||||
{
|
||||
//tempObjectCache = objectCache.ToDictionary(it => it.Key, it => it.Value);
|
||||
displayedObjects.Clear();
|
||||
// objectCache.Clear();
|
||||
|
||||
var rootObjects = GetRootEntriesMethod.Invoke();
|
||||
|
||||
foreach (var obj in rootObjects)
|
||||
Traverse(obj.transform);
|
||||
{
|
||||
if (obj)
|
||||
Traverse(obj.transform);
|
||||
}
|
||||
|
||||
if (andReload)
|
||||
Scroller.Refresh();
|
||||
|
||||
Reference in new issue
Block a user