Jump to content

Reading Keybindings in a Plugin


Recommended Posts

Basically, I want to us Input.GetKeyDown(CAMERA_MODE).  

Anyone know what reference I need to include to get CAMERA_MODE definition?

Will this work to check if the Camera Mode key, as defined in the keybinding screen, has been pressed?  

 

Obviously I'm wanting to avoid using KeyCode.C so I track if the player has set a different key for the camera mode.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...