unity 鼠标滚轮实现缩放:将摄像机的镜头拉近或者拉远
using System.Collections;using System.Collections.Generic;using UnityEngine;public class shuBiao : MonoBehaviour { void Update() { //鼠标滚轮的效果 if (Input.GetAxis("Mouse ScrollWheel") < 0) { if (Camera.main.f...