EditorWindow.GetWindowWithRect.<T> 获取rect处的窗口

static function GetWindowWithRect.<T> (rect : Rect) : T
static function GetWindowWithRect.<T> (rect : Rect, utility : bool) : T
static function GetWindowWithRect.<T> (rect : Rect, utility : bool, title : string) : T
static function GetWindowWithRect.<T> (rect : Rect, utility : bool, title : string, focus : bool) : T

Parameters参数

Description描述

Returns the first EditorWindow of type t which is currently on the screen.

返回屏幕上当前类型t的第一个编辑器窗口。

If there is none, creates and shows new window at the position rect and returns the instance of it.

如果没有,在位置rect创建并显示新的窗口并返回它的实例。

Page last updated: 2011-6-24