Fps Character doesnt look up or down

I made a night vision for my first person controller, there are two cameras in my fps controller, night vision is work but nightvision camera just looks to the left and right, not looking up or down
Main camera works fine.

Mycode;

public bool  use = false;
public Camera nightvisioncamera;
public Camera maincamera; 
public Light nightvisionlight;
void  Start (){

	use = false;
	maincamera.enabled = true;
	nightvisioncamera.enabled = false;
	nightvisionlight.enabled = false;
}

void  Update (){
	if(Input.GetKeyDown(KeyCode.F))
	{
		use = !use;

	}
	if(use == true)
	{
		use = true;
		maincamera.enabled = false;
		nightvisioncamera.enabled = true;
		nightvisionlight.enabled = true;
	}
	else if(use == false)
	{

		use = false;
		maincamera.enabled = true;
		nightvisioncamera.enabled = false;
		nightvisionlight.enabled = false;
	}
}

Sorry for my bad English :smiley:

You probably need to add a MouseLook script to your night vision camera. Check your main camera and copy that mouselook settings.

I use unity 5.3 there is no mouse look script in my first person controller. Only firstpersoncontroller script.
When I try to add external script , I get an error
“Can’t add script behaviour MouseLook. The script needs to derive from MonoBehaviour”
Thanks for quick response

I fixed it, parent the firstpersoncharacter object to night vision object, thats it. Man i almost went crazy :smiley: