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.SendEvent 发送事件
function SendEvent (e : Event) : bool
Description描述
Sends an Event to a window.
发送一个事件到窗口。
var win : EditorWindow;
/// Sends a paste event to an EditorWindow, as if Paste was selected from the Edit menu.
///如果从编辑器菜单选择了粘贴,发送一个粘贴事件到一个编辑器窗口。
win.SendEvent(EditorGUIUtility.CommandEvent("Paste"));
最后修改:2011年6月20日 Monday 16:17