Show / Hide Table of Contents

Class EditorWindow

Inheritance
Object
Object
ScriptableObject
EditorWindow
BuildPlayerWindow
SearchWindow
PhysicsDebugWindow
PopupWindow
PresetSelector
ScriptableWizard
SearchableEditorWindow
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance(String)
ScriptableObject.CreateInstance(Type)
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public class EditorWindow : ScriptableObject

Constructors

| Improve this Doc View Source

EditorWindow()

Declaration
public EditorWindow()

Properties

| Improve this Doc View Source

antiAlias

Declaration
[Obsolete("AA is not supported on EditorWindows", false)]
public int antiAlias { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

autoRepaintOnSceneChange

Declaration
public bool autoRepaintOnSceneChange { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

depthBufferBits

Declaration
public int depthBufferBits { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

focusedWindow

Declaration
public static EditorWindow focusedWindow { get; }
Property Value
Type Description
EditorWindow
| Improve this Doc View Source

maximized

Declaration
public bool maximized { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

maxSize

Declaration
public Vector2 maxSize { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

minSize

Declaration
public Vector2 minSize { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

mouseOverWindow

Declaration
public static EditorWindow mouseOverWindow { get; }
Property Value
Type Description
EditorWindow
| Improve this Doc View Source

position

Declaration
public Rect position { get; set; }
Property Value
Type Description
Rect
| Improve this Doc View Source

title

Declaration
[Obsolete("Use titleContent instead (it supports setting a title icon as well).")]
public string title { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

titleContent

Declaration
public GUIContent titleContent { get; set; }
Property Value
Type Description
GUIContent
| Improve this Doc View Source

wantsMouseEnterLeaveWindow

Declaration
public bool wantsMouseEnterLeaveWindow { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

wantsMouseMove

Declaration
public bool wantsMouseMove { get; set; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

BeginWindows()

Declaration
public void BeginWindows()
| Improve this Doc View Source

Close()

Declaration
public void Close()
| Improve this Doc View Source

EndWindows()

Declaration
public void EndWindows()
| Improve this Doc View Source

Focus()

Declaration
public void Focus()
| Improve this Doc View Source

FocusWindowIfItsOpen(Type)

Declaration
public static void FocusWindowIfItsOpen(Type t)
Parameters
Type Name Description
Type t
| Improve this Doc View Source

FocusWindowIfItsOpen<T>()

Declaration
public static void FocusWindowIfItsOpen<T>()
    where T : EditorWindow
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow(Type)

Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindow(Type t)
Parameters
Type Name Description
Type t
Returns
Type Description
EditorWindow
| Improve this Doc View Source

GetWindow(Type, Boolean)

Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindow(Type t, bool utility)
Parameters
Type Name Description
Type t
Boolean utility
Returns
Type Description
EditorWindow
| Improve this Doc View Source

GetWindow(Type, Boolean, String)

Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindow(Type t, bool utility, string title)
Parameters
Type Name Description
Type t
Boolean utility
String title
Returns
Type Description
EditorWindow
| Improve this Doc View Source

GetWindow(Type, Boolean, String, Boolean)

Declaration
public static EditorWindow GetWindow(Type t, [DefaultValue("false")] bool utility, [DefaultValue("null")] string title, [DefaultValue("true")] bool focus)
Parameters
Type Name Description
Type t
Boolean utility
String title
Boolean focus
Returns
Type Description
EditorWindow
| Improve this Doc View Source

GetWindow<T>()

Declaration
public static T GetWindow<T>()
    where T : EditorWindow
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow<T>(Boolean)

Declaration
public static T GetWindow<T>(bool utility)
    where T : EditorWindow
Parameters
Type Name Description
Boolean utility
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow<T>(Boolean, String)

Declaration
public static T GetWindow<T>(bool utility, string title)
    where T : EditorWindow
Parameters
Type Name Description
Boolean utility
String title
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow<T>(Boolean, String, Boolean)

Declaration
public static T GetWindow<T>(bool utility, string title, bool focus)
    where T : EditorWindow
Parameters
Type Name Description
Boolean utility
String title
Boolean focus
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow<T>(String)

Declaration
public static T GetWindow<T>(string title)
    where T : EditorWindow
Parameters
Type Name Description
String title
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow<T>(String, Boolean)

Declaration
public static T GetWindow<T>(string title, bool focus)
    where T : EditorWindow
Parameters
Type Name Description
String title
Boolean focus
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow<T>(String, Boolean, Type[])

Declaration
public static T GetWindow<T>(string title, bool focus, params Type[] desiredDockNextTo)
    where T : EditorWindow
Parameters
Type Name Description
String title
Boolean focus
Type[] desiredDockNextTo
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow<T>(String, Type[])

Declaration
public static T GetWindow<T>(string title, params Type[] desiredDockNextTo)
    where T : EditorWindow
Parameters
Type Name Description
String title
Type[] desiredDockNextTo
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindow<T>(Type[])

Declaration
public static T GetWindow<T>(params Type[] desiredDockNextTo)
    where T : EditorWindow
Parameters
Type Name Description
Type[] desiredDockNextTo
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindowWithRect(Type, Rect)

Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindowWithRect(Type t, Rect rect)
Parameters
Type Name Description
Type t
Rect rect
Returns
Type Description
EditorWindow
| Improve this Doc View Source

GetWindowWithRect(Type, Rect, Boolean)

Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindowWithRect(Type t, Rect rect, bool utility)
Parameters
Type Name Description
Type t
Rect rect
Boolean utility
Returns
Type Description
EditorWindow
| Improve this Doc View Source

GetWindowWithRect(Type, Rect, Boolean, String)

Declaration
public static EditorWindow GetWindowWithRect(Type t, Rect rect, [DefaultValue("false")] bool utility, [DefaultValue("null")] string title)
Parameters
Type Name Description
Type t
Rect rect
Boolean utility
String title
Returns
Type Description
EditorWindow
| Improve this Doc View Source

GetWindowWithRect<T>(Rect)

Declaration
public static T GetWindowWithRect<T>(Rect rect)
    where T : EditorWindow
Parameters
Type Name Description
Rect rect
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindowWithRect<T>(Rect, Boolean)

Declaration
public static T GetWindowWithRect<T>(Rect rect, bool utility)
    where T : EditorWindow
Parameters
Type Name Description
Rect rect
Boolean utility
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindowWithRect<T>(Rect, Boolean, String)

Declaration
public static T GetWindowWithRect<T>(Rect rect, bool utility, string title)
    where T : EditorWindow
Parameters
Type Name Description
Rect rect
Boolean utility
String title
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetWindowWithRect<T>(Rect, Boolean, String, Boolean)

Declaration
public static T GetWindowWithRect<T>(Rect rect, bool utility, string title, bool focus)
    where T : EditorWindow
Parameters
Type Name Description
Rect rect
Boolean utility
String title
Boolean focus
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

RemoveNotification()

Declaration
public void RemoveNotification()
| Improve this Doc View Source

Repaint()

Declaration
public void Repaint()
| Improve this Doc View Source

SendEvent(Event)

Declaration
public bool SendEvent(Event e)
Parameters
Type Name Description
Event e
Returns
Type Description
Boolean
| Improve this Doc View Source

Show()

Declaration
public void Show()
| Improve this Doc View Source

Show(Boolean)

Declaration
public void Show(bool immediateDisplay)
Parameters
Type Name Description
Boolean immediateDisplay
| Improve this Doc View Source

ShowAsDropDown(Rect, Vector2)

Declaration
public void ShowAsDropDown(Rect buttonRect, Vector2 windowSize)
Parameters
Type Name Description
Rect buttonRect
Vector2 windowSize
| Improve this Doc View Source

ShowAuxWindow()

Declaration
public void ShowAuxWindow()
| Improve this Doc View Source

ShowNotification(GUIContent)

Declaration
public void ShowNotification(GUIContent notification)
Parameters
Type Name Description
GUIContent notification
| Improve this Doc View Source

ShowPopup()

Declaration
public void ShowPopup()
| Improve this Doc View Source

ShowTab()

Declaration
public void ShowTab()
| Improve this Doc View Source

ShowUtility()

Declaration
public void ShowUtility()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
UIElementsEntryPoint.GetRootVisualContainer(EditorWindow)
UIElementsEntryPoint.SetAntiAliasing(EditorWindow, Int32)
UIElementsEntryPoint.GetAntiAliasing(EditorWindow)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX