Topic was automatically imported from the old Question2Answer platform.
Asked By
devAS
How do I assign or map an InputMap action to an onscreen software button instead of using actual hardware keys from keyboard to perform the intended action (somewhat like what is possible with TouchScreenButton).
Sorry if I’m too annoying but I’m new to this - your engine and gamedev in itself.
It doesn’t work in the way that the button is not getting the action assigned to itself, don’t know why.
This is the code I’m using for it:
Sorry Sir,
I troubled you a lot, but it was that I had actually commented a code snippet in another script which I didn’t just see.
That was all causing the problem.
Sorry once again and Thanks a lot for your help