diff --git a/Assets/Scripts/Item/Show3DCamera.cs b/Assets/Scripts/Item/Show3DCamera.cs index 2c8c1d2b..c5dcb910 100644 --- a/Assets/Scripts/Item/Show3DCamera.cs +++ b/Assets/Scripts/Item/Show3DCamera.cs @@ -48,14 +48,15 @@ public class Show3DCamera : MonoBehaviour yaw = 0; pitch = 0; + // 初始化相机位置 this.inputRect = inputRect; this.targetPos = target.transform.position; - this.rotateSpeed = rotateSpeed; - this.moveSpeed = moveSpeed; - this.distance = distance; - this.distanceMin = distanceMin; - this.distanceMax = distanceMax; - this.pitchMinMax = new Vector2(pitchMin, pitchMax); + //this.rotateSpeed = rotateSpeed; + //this.moveSpeed = moveSpeed; + //this.distance = distance; + //this.distanceMin = distanceMin; + //this.distanceMax = distanceMax; + //this.pitchMinMax = new Vector2(pitchMin, pitchMax); // 初始化相机位置 offset = new Vector3(0, 0, -distance);