Hello, there is a very simple solution for your problem.
I guess you dont want to rotate the object, only the camera around the object right?
There for create an empty gameObject, I called it Rotator, and make it a child of your Object you want to rotate around. Now put a script (I use js.) on the Rotator and write following in it:
private var speed : float = 5;
function Update ()
{
rotation = Input.GetAxis("Horizontal") * speed;
transform.Rotate(0,rotation,0);
}
Now go to the camera and declerate as target of the “SmoothFollow” script the Rotator instead of your Object. Now you should be able to rotate the camera around the object.
If i have missunderstand you and you also want to rotate the object with it, skip the Rotator and put the script directly on your object.