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.

	if(Input.("Fire1"))
	   
	   {	
		 transform.RotateAround(Vector3.forward * Time.deltaTime * 100);
	    }

You should write:

  if (Input.GetButton("Fire1")){
    transform.RotateAround(center,Vector3.up,Time.deltaTime*100);
  }

Read about this function at:

http://unity3d.com/support/documentation/ScriptReference/Input.GetButton.html

And also about RotateAround in:

http://unity3d.com/support/documentation/ScriptReference/Transform.RotateAround.html

Check the documentation for information on how to use Input.

http://unity3d.com/support/documentation/ScriptReference/Input.html