How can i get the key names from the Input Manager with scripting?
I found nothing about getting key names from the Input Manager with scripting.
(Sorry for my English.)
How can i get the key names from the Input Manager with scripting?
I found nothing about getting key names from the Input Manager with scripting.
(Sorry for my English.)
The whole idea of the input manager is that the user can change the keys. You just get the categories from the script and use that, like “Horizontal”
So i can’t get the name of the keys from the inbuilt Input Manager? I want get them as strings because i want store them in variables.
If the purpose is to store and modify them, that doesn’t work with the input manager.
You’d have to write your own… or use a solution made by someone else who wrote their own.
Okay, thanks for the information.
All you need is to get the names?
Yes. (Or the keycodes.)
Thanks! I check it.
Just for future readers – that link discusses editor only options … can’t be used in-game (and may change in the future, too).
Actually i need an in-game solution but the script in the link works only in editor.
For what they were talking on that link, it seams thats not possible. You could always store them somewhere and access them from the game.
Okay, thanks.