How to make the second camera rotate automatically?

I have a camera following the player. Once the player has completed an event, (say for example player has fallen down) I need the second camera to rotate and show the surrounding environment.

Something like this should work:

public float _rotSpeed = 5.0f;
private float _cam2NewAngle;

void Update () {
	if(MyEvent){
                 Cam2Rotate();
        }
}
	
void Cam2Rotate(){
	_cam2NewAngle = _rotSpeed * Time.deltaTime;
	gameObject.transform.Rotate(0, 0, _cam2NewAngle, Space.Self);
}