New to coding so this is probably super simple, but I can't find the answer. I'm using Unity 5.4.0 and coding in C#.
Is there a variable for input keys?
I have a game I'm making and it is working good, but I want the players to be able to choose which key does what, but I don't know how to make the key presses changeable. I am using both
My question is: is there a variable I can use in place of the keys that I can make changeable by the players? Like a float, but instead of numbers, it uses key codes.