Good evening!
Question is simple, I can’t find a way to only display only one part of a composite axis
I am doing a binding menu for my game and I want each part of the composite to be rebinded individually, that works.
But now, when it comes to displaying the information, I do this:
_keyName_text.text = _inputAction.GetBindingDisplayString(0, InputBinding.DisplayStringOptions.DontUseShortDisplayNames);
But for some reason it will only display the full thing, and that’s not what I want since I’m rebinding individually (Forward, Backward, Left, Right).
For now, I’ll go with parsing the results from ‘GetBindingDisplayString()’, and since I know which index of the composite axis I am accessing, I can count the amount of ‘/’ and simply take the character before it
But is there some other solution? I mean, there is not a single game I played in my life that does that kinda of weird rebinding 4 axis at a time…