public static void ReloadTree() { if (EditorWindow.HasOpenInstances <PathHierachyWindow>()) { PathHierachyWindow window = (PathHierachyWindow)EditorWindow.GetWindow(typeof(PrefabHierachyWindow), false, "Path Hierachy"); window.m_Initialized = false; } }
public static void ReloadTreeViews() { PrefabHierachyWindow.ReloadTree(); PathHierachyWindow.ReloadTree(); }
static void OpenPathHierachy() { PathHierachyWindow window = (PathHierachyWindow)EditorWindow.GetWindow(typeof(PathHierachyWindow), false, "Path Hierachy"); }