Touchscreen needs custom input settings?

I wrote a script which checks if the left mouse button is pressed and then changes the x/y achses of the camera via the mousemoving. It is working fine for me if I use a mouse. But if I try to use the application on a touchscreen there is no way to move the camera. Do I need to change the input settings?

function LateUpdate () {
    if (target) {
		if (mouseButtonisDown) {
        x += Input.GetAxis("Mouse X") * xSpeed * 0.02;
	    y -= Input.GetAxis("Mouse Y") * ySpeed * 0.02;
		}

 		y = ClampAngle(y, yMinLimit, yMaxLimit);
 		       
        var rotation = Quaternion.Euler(y, x, 0);
        var position = rotation * Vector3(0.0, 0.0, -getDistance()) + target.position;
        
        transform.rotation = rotation;
        transform.position = position;
	}
}
function Update() {
	if(Input.GetMouseButton(0)) { 
		mouseButtonisDown = true;
	} else {
		mouseButtonisDown = false;
	}
}

I forget to write about the GUI problems. Actually I need to touch a button in order to select it before I can click it?

If this is a mobile application I would recommend to use touches for everything to not miss touches.
If it is no mobile, then touches don’t exist out of unitys view and it depends on the touch driver if you need to touch it multiple times or whatever. Unity only uses the mouse there which is emulated by the touch screen so best look into its documentations and driver settings