The only thing I have seen that adds a hotkey is when you create a menu item. // Add menu named "Do Something" to the main menu // and give it a shortcut (ctrl-o on Windows, cmd-o on OS X). @MenuItem ("GameObject/Do Something %o") static function DoSomething () { Debug.Log ("Perform operation"); } alexnode 0 secs ago

It is not. The Input class is only running in playmode and runtime. For editor scripting you are limited to what GUI events offer you - meaning you would need your handler to live in either a custom inspector or an editor window.