My game uses the Space bar for jumping, How can I make it use a simple tap to jump when I port it to android?
There are some APIS in Input that you could use.
- Input
- Input.touchCount
- Input.GetTouch
- Touch
- Touch.phase
- TouchPhase
I don’t remember from the top of my head if this holds true but I think you can also use Input.GetMouseButtonDown(0)