Static but updated InputMap Actions from InputMap Menu for easier references and less broken code #8031
Dreathorian
started this conversation in
Scripting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Yeah it would be great if the InputMap was static and that we're able to reference it. so we don't have to write dynamic StringNames that will probably change a couple times and then will miss those references.
A better approach for that would be a script file that gets rewritten every time the InputMap gets updated, preferably with an additional step to also adapt the code that is referencing those inputActions (change from "up" to "cam_up" also changes the camera handler code that was referencing "up" will reference "cam_up" )
I know there'd have to be dynamic inputActions as well (custom macros/mappings, unlimited coop multiplayers ( for whatever reason)) but since that already exists, a static InputMap would be the cherry on top ;-)
Beta Was this translation helpful? Give feedback.
All reactions