- Home /
The question is answered, right answer was accepted
Unbinding in game settings
I want to make bind settings, and I have problem with unbinding I have two binds, main and alternative, and I want to remove bind when backspace is pressed But ChangeBinding(index).Erase();
is removing it, not setting to null
or <no bind>
How can I replace bind with null/<no bind>
?
Forward [W] [↑]
> when pressed backspace on alternative > [W] [ ]
Back [S] [↓]
Left [A] [←]
Right [D] [→]
Answer by S-Sz · Feb 17 at 02:46 PM
Ok, found the answer: bindAction.ApplyBindingOverride(id, "");
"" works as null
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Unity input system character control 1 Answer
How to reference New InputSystem Input Values in C# Script? 1 Answer
C# Touch Script - Fix GameObject touch. 0 Answers