Give Vector3 new values in script?

I’m using the ShooterGameCamera (from the Third-Person Shooter example from Unity) and I’m trying to make an aiming mode for it. The script uses Vector3s as it’s variables for pivotOffset, cameraOffset and closeOffset. I’m trying to give the vector3 values new values, so I could center the camera behind the player when not aiming. How do I do this? I already tried this:

if(Input.GetKeyDown(KeyCode.Q))
{
    //set the values here
    pivotOffset = Vector3(0.0f, 0.0f,  0.0f);
    camOffset   = Vector3(0.0f, 0.0f, -1.8f);
    closeOffset = Vector3(0.0f, 0.0f, 0.0f);
    //nope, wont work
}

Thanks in advance.

Try:

new Vector3(0f, 0f, 0f);