EditorWindow
- autoRepaintOnSceneChange
- BeginWindows
- Close
- EndWindows
- focusedWindow
- FocusWindowIfItsOpen.<T>
- FocusWindowIfItsOpen
- Focus
- GetWindow.<T>
- GetWindowWithRect.<T>
- GetWindowWithRect
- GetWindow
- mouseOverWindow
- OnDestroy
- OnFocus
- OnGUI
- OnHierarchyChange
- OnInspectorUpdate
- OnLostFocus
- OnProjectChange
- OnSelectionChange
- position
- RemoveNotification
- Repaint
- SendEvent
- ShowAuxWindow
- ShowNotification
- ShowPopup
- ShowTab
- ShowUtility
- Show
- Update
- wantsMouseMove
EditorWindow.FocusWindowIfItsOpen 如果打开焦点窗口
static function FocusWindowIfItsOpen (t : System.Type) : void
Parameters参数
-
tthe type of the window. Must derive from EditorWindow.
窗口的类型,必须源于编辑器窗口
Description描述
Focuses the first found EditorWindow of specified type if it is open.
如果是窗口打开的,焦点首先发现的指定类型的编辑器窗口。
If there is no open window of such type, nothing happens.
如果没打开这种类型的窗口,没有任何反应。
最后修改:2011年6月24日 Friday 16:01