Center camera to an object programatically

Hai, i created a turn based strategy game in unity3d and i am posting in here because i wanted to ask you guys in this forum a question. How do i center the camera to an object? lets say i got 1 object which is circle, and another object which is cylinder and my camera is on third person view (i modify it on working view in unity3d, not in code). I want to center my camera to that cylinder when the turn of circle is 0.

Basically, when i click the object (cylinder), the camera centered in the center of that object.

How do i do that?
Thanks

There is a function named something like Camera.LookAt() or similar… check the docks.

i already tried this one sir: transform.LookAt(UserPlayerPrefab);

UserPlayerPrefab is the GameObject, but it gave me the error.

And when i try transform.LookAt(v3);

v3 is the Transform. It correct, but it didn’t center at the object, but it is centered on the whole stage.

Move the camera to the object, then move it back using Camera’s backward/negative forward vector.