Question by
pranesh-arry · Nov 25, 2018 at 05:39 PM ·
c#inputruntimekeycodekeyboard input
A keybinding system in unity
So I am making a game in unity, And i want to make a keybinding system at the start of the game, but do not know few things before proceeding: How do I change a keycode value during runtime? is it even possible? How I get the name of the key which is assigned (like for keycode.W, I want an output of type string "W") How do I wait for an input? (So that i can change it to that key
Please give the answer in C#
Comment
Your answer
Follow this Question
Related Questions
Getting input outside of the Input class 0 Answers
Identify custom user input 0 Answers
Using one key only, change bool to true or false depending on it's current value 2 Answers
How to make custom input key presses 0 Answers
How do I save separate keycodes presses at same time and store for use later in update? 0 Answers