Question by
armandleggames · Nov 20, 2015 at 01:19 AM ·
inputspritesprites
How can i get the exact value of a variable into a keycode???
I am making a keyboard that changes sprites when the corresponding key is pressed and i have each key has the exact name of the keycode i want to use to check if the key is pressed. How do i have it so that the name of an object and be used in a input.getkey: example: if(Input.GetKeyDown(KeyCode.(keys[i].name)))
Comment