- Home /
Question by
frappastudio · Apr 26 at 02:50 PM ·
input
Hello! How can I make GetBindingDisplayString() display "Spacebar" instead of a blank space ?
Even in the provided UI Rebind example you can't rebind the "interact" action to spacebar or keyboard arrows, as the button becomes empty. Does someone know if you can rebind keys properly with the new input system ? Thanks very much !!!
Comment
I still miss an option for composite bindings if someone have an idea I'll be glad to hear it
Answer by frappastudio · Apr 28 at 12:18 AM
I found a workaround that doesn't work for Composite action bindings, which is to use the path instead of using the GetBindingDisplayString() in the UpdateBindingDisplay() of the RebindActionUI script
if ( !action.bindings[bindingIndex].isComposite)
displayString = controlPath;