private float zoomSpeed=2.0f;
void Update(){
floatscroll=Input.GetAxis("Mouse ScrollWheel");
transform.Translate(0,scroll *zoomSpeed,scroll *zoomSpeed,Space.World);
}
private float zoomSpeed=2.0f;
void Update(){
floatscroll=Input.GetAxis("Mouse ScrollWheel");
transform.Translate(0,scroll *zoomSpeed,scroll *zoomSpeed,Space.World);
}