private static void ShowWindow() { ReorderMyComponents windowHandle = (ReorderMyComponents)EditorWindow.GetWindow(typeof(ReorderMyComponents)); GUIContent titleContent = new GUIContent("Reorder CPS"); windowHandle.titleContent = titleContent; windowHandle.autoRepaintOnSceneChange = true; }
private static void ShowWindow() { ReorderMyComponents windowHndle = (ReorderMyComponents)EditorWindow.GetWindow(typeof(ReorderMyComponents)); windowHndle.autoRepaintOnSceneChange = true; }