CreateWindow
Creates an EditorWindow of type T.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
CreateWindow<T>(Type[])
Creates an EditorWindow of type .
Tpublic static T CreateWindow<T>(params Type[] desiredDockNextTo) where T : EditorWindow
Parameters
An array of EditorWindow types that the window will attempt to dock onto.
Returns
Type | Description |
|---|---|
| T |
Remarks
Creates and shows a new window and returns the instance of it.
CreateWindow<T>(string, Type[])
Creates an EditorWindow of type .
Tpublic static T CreateWindow<T>(string title, params Type[] desiredDockNextTo) where T : EditorWindow
Parameters
Returns
Type | Description |
|---|---|
| T |
Remarks
Creates and shows a new window and returns the instance of it.