[InputManager] Bind Negative Button and Positive Button to Touch Input
In the Horizontal Axis of movement, KeyCodes (left, right, space, etc.) can be used to bind the Negative Button and Positive Button of the axis. I'm just curious as to whether this can be changed to detect touch input to active the negative and positive of the axis.
Maybe, for example, something like creating a bool variable named leftTouch, and setting it to true when the left side of the screen is touched. Then the Negative Button binding could be set to leftTouch. Does anyone know if this is possible in any way?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612134506im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Identify custom user input 0 Answers
Problem with input axis "Submit" 1 Answer
Argument: Input Axis Horizontal is not set up. 3 Answers
Android| Camera scrolling 1 Answer