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