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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...