Hi,
how can I prevent the keybinds from having the same keys?
Hi,
how can I prevent the keybinds from having the same keys?
You check against the keys you already have mapped. Whatever you’re going to store for the mapping, you just check that you don’t have it already.
I did something similar, somehow didn’t work. Can you please show me an example?
Make an array of all the KeySelectors that you have.
When setting a new key, check if any of those selectors already has it bound.
If so, show message / remove binding / do nothing.
Thank you for the answer and example!