- Home /
Changing First Person Controller key bindings at runtime
Hello question viewers,
I'm working on a main menu scene, where amongst other options the user gets to change the controls to their liking.
I have thought of saving the user's input for certain actions in PlayerPrefs, setting it to a variable and using it for getting a KeyDown event.
This method should work for all controls I've written (flashlight, crouch, run, interact) but I can't figure out a way of doing the same for the First Person Controller script, for movement controls (wasd).
So, how should I proceed? How do I rebind keys to the forward, backward and side movements from the First Person Controller in runtime without using the Input Manager?
Your answer
![](https://koobas.hobune.stream/wayback/20220613023001im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Xbox/USB controllers don't work in Build 0 Answers
Input Manager display at runtime 1 Answer
Making a category dropdown menu 1 Answer
Implicit "Horizontal" Axis exceptions? 1 Answer
Possible to remap input manager buttons/axes at runtime? 1 Answer