Inheritance: UnityEditor.InspectorWindow
 private void DetachPreview(bool exitGUI = true)
 {
     if (Event.current != null)
     {
         Event.current.Use();
     }
     m_PreviewWindow = CreateInstance(typeof(PreviewWindow)) as PreviewWindow;
     m_PreviewWindow.SetParentInspector(this);
     m_PreviewWindow.Show();
     Repaint();
     UIEventRegistration.MakeCurrentIMGUIContainerDirty();
     if (exitGUI)
     {
         GUIUtility.ExitGUI();
     }
 }
		private void DetachPreview()
		{
			Event.current.Use();
			this.m_PreviewWindow = (ScriptableObject.CreateInstance(typeof(PreviewWindow)) as PreviewWindow);
			this.m_PreviewWindow.SetParentInspector(this);
			this.m_PreviewWindow.Show();
			base.Repaint();
			GUIUtility.ExitGUI();
		}