EditorWindow Keyboard Shortcuts

Seems like EditorWindow Keyboard Shortcuts are impossible?

I would like to use the Ctrl+C shortcut to copy my own object within my EditorWindow. But Unity doesn’t want me to.

Ah, you need to check the Event type is: EventType.ValidateCommand

then: Event.current.commandName == “Copy”

2 Likes