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

        windowHandle.titleContent             = titleContent;
        windowHandle.autoRepaintOnSceneChange = true;
    }
示例#2
0
    private static void ShowWindow()
    {
        ReorderMyComponents windowHndle = (ReorderMyComponents)EditorWindow.GetWindow(typeof(ReorderMyComponents));

        windowHndle.autoRepaintOnSceneChange = true;
    }