public static void ReloadTree()
 {
     if (HasOpenInstances <PrefabHierarchyWindow>())
     {
         PrefabHierarchyWindow window = (PrefabHierarchyWindow)GetWindow(typeof(PrefabHierarchyWindow), false, "Prefab Hierachy");
         window.m_Initialized = false;
     }
 }
Exemplo n.º 2
0
 public static void ReloadTreeViews()
 {
     PrefabHierarchyWindow.ReloadTree();
     PathHierarchyWindow.ReloadTree();
 }