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 import UnityEditor; class GetWindowEx extends EditorWindow { @MenuItem("Example/Display simple Window") static function Initialize() { var window : GetWindowEx = EditorWindow.GetWindow(GetWindowEx, true, "My Empty Window"); } }
static function GetWindow.<T> () : Tstatic function GetWindow.<T> (utility : boolean) : Tstatic function GetWindow.<T> (utility : boolean, title : String) : 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. |

