Hi everyone,
I jumped into the new InputSystem lately as I wanted to add multiple controllers into my local multiplayer game.
I want to add the ability for the players to change the keybinds as they wish. I created some schemes (one KB + one gamepad scheme per player), with the different actions used in my gameplay.
I can access the different bindings by exploring the PlayerInput component of my players GameObjects:
controls = GetComponent<PlayerInput>();
moveForward = controls.actions.FindAction("MoveForward");
but I’m struggling to modify the bindings of these actions in realtime. Has anyone some easy way to do that?
I’m not totally familiar with the new InputSystem yet so please don’t hesitate to tell me if you think I’m doing the whole think wrong!
Thanks!