Detect touch input

Hello , Im making game where you shoot up , I want to port it to android and IOS but I dont have experience working with touch screens ,

So my player shoots when you press SPACE , I want to shoot when the screen is touched , how can I do that

Use Input.GetMouseButtonDown(0) like checking for a click of the left mouse button. Touch inputs are mapped to that.

If you need anything specific to touch, search the documentation for Input.* and look for “touch”.