- Home /
Write custom input manager
What is the best / most efficient way to handle a lot of input?
I'm planning to write a custom input manager. However I want the keys to be accessible just like Unity's GetKey system. So should I make a huge enum with all keys and a huge switch case to test if it was pressed? I'd also like them to be runtime modifiable. I've read somewhere that only GetButton can be changed at runtime, so therefore I wanted to ask how I would proceed with this process.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612163643im_/https://answers.unity.com/themes/thub/images/avi.jpg)