Rotating Camera on Touch

Hey guys am making a mobile application and i want to rotate the camera 360 degrees along the center and on the touch of the screen.I am able to somehow rotate the gameobject but not able to do so for the camera. I tried to attach the same script for the camerabut no use. I even tried creating an empty game object and rotating the camera around it .And also i thought of lookAt function but i dont think it wil work for this.Can anyone help me with this.

phew that was easy… just used MouseOrbit Script available in standard assets and its done… though it requires a bit of fine tuning and hope i would be able to do it…