Question by
Slash2100 · Nov 08, 2015 at 06:47 AM ·
controller
Add two key binds
how do you add two keybinds to a keycode?
if (Input.GetKeyUp (KeyCode.UpArrow)) {
i want to pair the UpArrow with a W
Comment
Best Answer
Answer by gjf · Nov 07, 2015 at 11:05 PM
something like...
if ((Input.GetKeyUp (KeyCode.UpArrow)) || (Input.GetKeyUp (KeyCode.W)))
{
Your answer
![](https://koobas.hobune.stream/wayback/20220612044306im_/https://answers.unity.com/themes/thub/images/avi.jpg)