EditorWindow.GetWindowstatic function GetWindow (t : System.Type, utility : boolean = false, title : String = null, focus : boolean = true) : EditorWindowParameters
DescriptionReturns the first EditorWindow of type t which is currently on the screen. If there is none, creates and shows new window and returns the instance of it.
// Simple script that creates a new non-dockable window
static function GetWindow.<T> () : Tstatic function GetWindow.<T> (utility : boolean) : Tstatic function GetWindow.<T> (utility : boolean, title : String) : Tstatic function GetWindow.<T> (title : String) : Tstatic function GetWindow.<T> (title : String, focus : boolean) : Tstatic function GetWindow.<T> (utility : boolean, title : String, focus : boolean) : TParameters
DescriptionReturns the first EditorWindow of type T which is currently on the screen. If there is none, creates and shows new window and returns the instance of it. static function GetWindow.<T> (params desiredDockNextTo : System.Type[]) : Tstatic function GetWindow.<T> (title : String, params desiredDockNextTo : System.Type[]) : Tstatic function GetWindow.<T> (title : String, focus : boolean, params desiredDockNextTo : System.Type[]) : TParameters
DescriptionReturns the first EditorWindow of type T which is currently on the screen. If there is none, creates and shows new window and returns the instance of it. The created window will attempt to be docked next to the first founds specified window type. |

