Zooming the scene with texture images as background

Hi,

I am doing an app with unity3d for users to experience dinosaurs,where in i have used 2 to 3 scenes for providing information about the dino. so each each scene has a image which contains information, i have used this image as texture i.e., one background image and another information image on top of the background image and 2 buttons on top of the information image to navigate to and from different scenes, so here i want to zoomin and zoomout on touch for the information pages. how do i do the zooming ? i tried the pinch and zoom C# script too, but it doesn’t seem to take any effect.

You could try making a button and make the camera Lerp from one position to the next (But make it work with a bool) so the button can turn the bool true and false.

if true, lerp the Camera to the new position, if false, lerp it back to the original position.

You could also lerp the camera’s feild of view.

Also, if you are using an ortho (2D) camera, moving it would do nothing.