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