public static T CreateWindow (params Type[] desiredDockNextTo);
public static T CreateWindow (string title, params Type[] desiredDockNextTo);

파라미터

TThe type of the window. Must derive from EditorWindow.
titleThe title of the created window. If this value is null, use the class name as title.
desiredDockNextToAn array of EditorWindow types that the window will attempt to dock onto.

설명

Creates an EditorWindow of type T.

Creates and shows a new window and returns the instance of it.