Can Anyone Please Help Me? I can't figure out why!

Greetings,
In my scene view my camera seems to be in the correct perspective however in the actually game it seems to be off and this is crucial to my game because the raycast might seem off but in reality it’s not. Please help. And I don’t think it’s a problem with my Scripting, I think its the camera itself. But the only manipulation I’ve done to the camera is…

//X direction
        rotLR = Input.GetAxisRaw("Mouse X") * mouseSense;
        transform.Rotate (0f, rotLR, 0f);
        cam.transform.localRotation = Quaternion.Euler(vertRot,0f,0f);

        //Y Direction
        vertRot -= Input.GetAxisRaw("Mouse Y") * mouseSense;
        vertRot = Mathf.Clamp (vertRot, -yTopRange, yBottomRange);
        cam.transform.localRotation = Quaternion.Euler (vertRot, 0f, 0f);

Thanks

The scene is viewed from the scene camera, which is not the same as any camera(s) that might be in the scene hierarchy itself.

You can modify this special scene camera via the little 3-axis widget in the upper corner, and by using the controls under GameObject menu, such as “Align View To Selected.”

If you want to change the FOV of this camera, you will have to write some editor scripts. See this: