Q:

how to use the mouse scroll wheel to move the camera in unity

float scroll = Input.GetAxis ("Mouse ScrollWheel");
    transform.LookAt (target);
    transform.Translate(0, 0, scroll * speed, Space.Self);
0

New to Communities?

Join the community