public bool GetKeyDown(ActionControl control) { bool isKeyDown = false; foreach (ActionKeyCode key in keyBinding.GetActionKeyCodes(control)) { isKeyDown = gamepad.GetButtonDown(key); if (isKeyDown) { return(true); } } return(false); }
public bool GetKeyDown(ActionControl control) { bool isKeyDown = false; foreach (ActionKeyCode key in keyBinding.GetActionKeyCodes(control)) { isKeyDown = gamepad.GetButtonDown(key); if (isKeyDown) { return(true); } } return(false); }