CamerFieldView ZOOM in and Out wirh c# any fast replay please :)

Hi !

Im trying to make a 2D game for our school project and i was thinking to make the camera Zoom in and then Zoom out in certain places. I searched in youtube and here but i couldn´t manage to find any good soultion can anyone help me please :smile:

Is there any script ?

If you’re using the orthographic camera you can change the Camera.orthographicSize value and that will give the effect of zooming in and out.