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"));