public Keybinding(Type handler, KeyCode keyboardBinding, ControllerInputHandler.BindableButtons controllerBinding) { ButtonHandler = null; HandlerTypeString = handler.ToString(); KeyboardBinding = keyboardBinding; ControllerBinding = controllerBinding; }
public void GotKeyUp(PlayerControllerButtonHandler handler) { handler.Released(); }
public void GotKeyDown(PlayerControllerButtonHandler handler) { handler.Pressed(); }