修改相机参数设置
This commit is contained in:
parent
4c3a422f61
commit
ab77d101bb
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user