How do I have the camera always look at one object, while it is rotating around it?

I have one object in the center of my scene. I used iTween to make the camera rotate around the object but I still need the camera to look at the object when it moves around it. How would I go about doing that?

You can use Transform.RotateAround - for a constant rotation around some object, for instance, orient the camera to the target and use a script like this (attached to the camera):

var target: Transform; // target object (center of rotation)
var speed: float = 45;

function Update () {
	transform.RotateAround(target.position, Vector3.up, speed * Time.deltaTime);
}

RotateAround keeps the rotation relative to the center while rotating, thus the camera will look to the same object all the time.

So my camera moves around the object but never actually rotates to see it.

here is my code (I attached the code to the camera) and its in C#

using UnityEngine;
using System.Collections;

public class rotateCamera : MonoBehaviour {
Transform center; // target object (center of rotation)


 void Update() {
 transform.RotateAround(center.position, Vector3.up, 2 * Time.deltaTime);
}
}

I figured it out. Thanks for the help Aldo, I appreciate it.
I used the LookAt function and it worked perfectly