void OnGUI()
    {
        GUILayout.Space(6);
        selectAss = EditorDrawGUIUtil.DrawPopup("程序集:", selectAss, allAssemblyName, PopupSelectChange);

        pos = GUILayout.BeginScrollView(pos, "box");

        if (control == null)
        {
            return;
        }
        EditorDrawFileDirectory.DrawFileDirectory(control, ShowFileDirectoryType.ShowAllFile, null, SelectCallBack);

        GUILayout.EndScrollView();

        if (CanShowDetill && GUILayout.Button("查看详情"))
        {
            ReflectionClassInfoEditorWindow.AddType((Type)selectItem.otherData["Type"]);
            FocusWindowIfItsOpen <ReflectionClassInfoEditorWindow>();
        }
    }
Esempio n. 2
0
 private static void OpenWindow()
 {
     instance = GetWindow <ReflectionClassInfoEditorWindow>();
 }