Zoom In and Zoom Out Camera.

Hi,
I am trying to Zoom In/Out using mouse scroll. I am using function Input.GetAxis(“Mouse ScrollWheel”) to get Delta value. But Delta value is always 0. Please help me, how to set Input manager to get delta value when mouse scroll.

Thanks
Varadharaj. C

Strange.

I think I have used this function (Input.GetAxis(“Mouse ScrollWheel”)) to get a zoom function…

I am using magic mouse, In that the value is always 0.