public static void RepaintHierarchyWindow()
 {
     UnityEngine.Object[] array = Resources.FindObjectsOfTypeAll(typeof(SceneHierarchyWindow));
     for (int i = 0; i < array.Length; i++)
     {
         SceneHierarchyWindow sceneHierarchyWindow = (SceneHierarchyWindow)array[i];
         sceneHierarchyWindow.Repaint();
     }
 }