Version: 2017.1

EventType.ExecuteCommand

Switch to Manual

Description

Исполнение специальной команды (напр. скопировать & вставить, 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" ); }