EditorWindow.CreateWindow
public static T CreateWindow(params Type[] desiredDockNextTo);
public static T CreateWindow(string title,
params Type[] desiredDockNextTo);
Parameters
| T | The type of the window. Must derive from EditorWindow. | |
| title | The title of the created window. If this value is null, use the class name as title. | |
| desiredDockNextTo | An array of EditorWindow types that the window will attempt to dock onto. |
Description 描述
Creates an EditorWindow of type T.
Creates and shows a new window and returns the instance of it.