public override void OnInspectorGUI()
{
using (new EditorGUI.DisabledScope(false))
{
GUI.enabled = true;
GUILayout.BeginHorizontal(new GUILayoutOption[0]);
GUILayout.FlexibleSpace();
EditorGUI.BeginChangeCheck();
this.m_ActiveEditorIndex = GUILayout.Toolbar(this.m_ActiveEditorIndex, this.m_SubEditorNames, new GUILayoutOption[0]);
if (EditorGUI.EndChangeCheck())
{
EditorPrefs.SetInt(base.GetType().Name + "ActiveEditorIndex", this.m_ActiveEditorIndex);
AssetImporterInspector activeEditor = this.activeEditor;
this.m_ActiveEditor = null;
Object.DestroyImmediate(activeEditor);
this.m_ActiveEditor = Editor.CreateEditor(base.targets, this.m_SubEditorTypes[this.m_ActiveEditorIndex]) as AssetImporterInspector;
this.m_ActiveEditor.assetEditor = this.assetEditor;
}
GUILayout.FlexibleSpace();
GUILayout.EndHorizontal();
}
this.activeEditor.OnInspectorGUI();
}