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.Show 显示
function Show (immediateDisplay : bool = false) : void
Description描述
Show the EditorWindow.
显示编辑器窗口。
Empty editor window. 空编辑器窗口
// Create an empty editor window and show it
//创建一个空的编辑器窗口,并显示
class EditorWindowPosition extends EditorWindow {
@MenuItem ("Example/Window position usage")
static function Init () {
var window = EditorWindow.GetWindow(EditorWindowPosition);
window.Show();
}
}
最后修改:2011年6月20日 Monday 16:00