Исполнение специальной команды (напр. скопировать & вставить, copy & paste).
"Copy", "Cut", "Paste", "Delete", "FrameSelected", "Duplicate", "SelectAll" and so on. Sent only in the editor. Example. Checking that that a frame has the focus:
//implement frame selection
if (eventType == EventType.ExecuteCommand || eventType == EventType.ValidateCommand) { if (Event.current.commandName == "FrameSelected") Debug.Log("frame selected" ); }
See Also: Event.commandName, EventType.ValidateCommand.