Class EditorWindow
Assembly: UnityEditor.dll
Syntax
public class EditorWindow : ScriptableObject
Constructors
|
Improve this Doc
View Source
EditorWindow()
Declaration
Properties
|
Improve this Doc
View Source
antiAlias
Declaration
[Obsolete("AA is not supported on EditorWindows", false)]
public int antiAlias { get; set; }
Property Value
|
Improve this Doc
View Source
autoRepaintOnSceneChange
Declaration
public bool autoRepaintOnSceneChange { get; set; }
Property Value
|
Improve this Doc
View Source
depthBufferBits
Declaration
public int depthBufferBits { get; set; }
Property Value
|
Improve this Doc
View Source
focusedWindow
Declaration
public static EditorWindow focusedWindow { get; }
Property Value
|
Improve this Doc
View Source
maximized
Declaration
public bool maximized { get; set; }
Property Value
|
Improve this Doc
View Source
maxSize
Declaration
public Vector2 maxSize { get; set; }
Property Value
|
Improve this Doc
View Source
minSize
Declaration
public Vector2 minSize { get; set; }
Property Value
|
Improve this Doc
View Source
mouseOverWindow
Declaration
public static EditorWindow mouseOverWindow { get; }
Property Value
|
Improve this Doc
View Source
position
Declaration
public Rect position { get; set; }
Property Value
|
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
|
Improve this Doc
View Source
titleContent
Declaration
public GUIContent titleContent { get; set; }
Property Value
|
Improve this Doc
View Source
wantsMouseEnterLeaveWindow
Declaration
public bool wantsMouseEnterLeaveWindow { get; set; }
Property Value
|
Improve this Doc
View Source
wantsMouseMove
Declaration
public bool wantsMouseMove { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
BeginWindows()
Declaration
public void BeginWindows()
|
Improve this Doc
View Source
Close()
Declaration
|
Improve this Doc
View Source
EndWindows()
Declaration
|
Improve this Doc
View Source
Focus()
Declaration
|
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
|
Improve this Doc
View Source
GetWindow(Type)
Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindow(Type t)
Parameters
Type |
Name |
Description |
Type |
t |
|
Returns
|
Improve this Doc
View Source
GetWindow(Type, Boolean)
Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindow(Type t, bool utility)
Parameters
Returns
|
Improve this Doc
View Source
GetWindow(Type, Boolean, String)
Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindow(Type t, bool utility, string title)
Parameters
Returns
|
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
Returns
|
Improve this Doc
View Source
GetWindow<T>()
Declaration
public static T GetWindow<T>()
where T : EditorWindow
Returns
Type Parameters
|
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 Parameters
|
Improve this Doc
View Source
GetWindow<T>(Boolean, String)
Declaration
public static T GetWindow<T>(bool utility, string title)
where T : EditorWindow
Parameters
Returns
Type Parameters
|
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
Returns
Type Parameters
|
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 Parameters
|
Improve this Doc
View Source
GetWindow<T>(String, Boolean)
Declaration
public static T GetWindow<T>(string title, bool focus)
where T : EditorWindow
Parameters
Returns
Type Parameters
|
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
Returns
Type Parameters
|
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 Parameters
|
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 Parameters
|
Improve this Doc
View Source
GetWindowWithRect(Type, Rect)
Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindowWithRect(Type t, Rect rect)
Parameters
Returns
|
Improve this Doc
View Source
GetWindowWithRect(Type, Rect, Boolean)
Declaration
[ExcludeFromDocs]
public static EditorWindow GetWindowWithRect(Type t, Rect rect, bool utility)
Parameters
Returns
|
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
Returns
|
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 Parameters
|
Improve this Doc
View Source
GetWindowWithRect<T>(Rect, Boolean)
Declaration
public static T GetWindowWithRect<T>(Rect rect, bool utility)
where T : EditorWindow
Parameters
Returns
Type Parameters
|
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
Returns
Type Parameters
|
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
Returns
Type Parameters
|
Improve this Doc
View Source
RemoveNotification()
Declaration
public void RemoveNotification()
|
Improve this Doc
View Source
Repaint()
Declaration
|
Improve this Doc
View Source
SendEvent(Event)
Declaration
public bool SendEvent(Event e)
Parameters
Type |
Name |
Description |
Event |
e |
|
Returns
|
Improve this Doc
View Source
Show()
Declaration
|
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
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
ShowTab()
Declaration
|
Improve this Doc
View Source
ShowUtility()
Declaration
public void ShowUtility()
Extension Methods