rotationX += Input.GetAxis("Mouse X") * 10;
rotationY += Input.GetAxis("Mouse Y") * 10;
rotationY = Mathf.Clamp(rotationY, -40, 10);
transform.localEulerAngles = new Vector3(-rotationY, rotationX, 0);
rotationX += Input.GetAxis("Mouse X") * 10;
rotationY += Input.GetAxis("Mouse Y") * 10;
rotationY = Mathf.Clamp(rotationY, -40, 10);
transform.localEulerAngles = new Vector3(-rotationY, rotationX, 0);