Question by
Mattyzero · Feb 06, 2020 at 11:22 PM ·
inputsendmessagebindingactions
Handle multiple actions with the same binding but diffrent behaviours Input System,Handle multiple actions with same bindings but diffrent behaviours
Hey I love the new input system but I didn't find a way to bind diffrent behaviours to the same key.
For example
If I press "Space" it should invoke OnJump but if I hold "Space" it should invoke OnDeploy.
I tried to create 2 actions (Deploy, Jump) binded both to "Space" and in the OnDeploy method I set a boolean to true and check that boolean in the OnJump method but it seems that the order in the Input Actions get ignored.
Is there any way to solve this problem with the new Input System?
Thanks Matthias
Comment