rotate around character

I’m trying to rotate the camera around the player character but when i use the if statement to see if the left or right arrows (Input name “Fire1”) unity tells me that it cant convert an int to a bool. here’s the code.

		 transform.RotateAround(Vector3.forward * Time.deltaTime * 100);

You should write:

  if (Input.GetButton("Fire1")){

Read about this function at:

And also about RotateAround in:

Check the documentation for information on how to use Input.