x


Mapping Function Keys to Menuitem

Is it possible to map the function keys to an MenuItem in the Unity Editor? I tried the following, and it somewhat seemed to work. However, it causes the static method to be triggered when both the F5 and 5 keys are pressed.

[MenuItem("Test/Do Stuff _F5", true)]

My guess is that it's either not supported, or the syntax is different for the function keys.

more ▼

asked Apr 20 '10 at 04:03 PM

Bill gravatar image

Bill
311 20 24 36

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Function keys are not supported to be mapped to.

more ▼

answered Dec 14 '10 at 04:35 AM

Reapazor gravatar image

Reapazor
79 2 2 7

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x387
x13

asked: Apr 20 '10 at 04:03 PM

Seen: 1125 times

Last Updated: Apr 20 '10 at 04:03 PM