천일 외관 적용
This commit is contained in:
@@ -19,7 +19,7 @@ MonoBehaviour:
|
||||
_moveSpeed: 2
|
||||
_zoomSpeed: 30
|
||||
_rotateSpeed: 5
|
||||
_fieldOfView: 30
|
||||
_fieldOfView: 60
|
||||
_moveLimit: 0
|
||||
_rotateLimit: 0
|
||||
_azimuthRotateLimit: 0
|
||||
@@ -33,11 +33,11 @@ MonoBehaviour:
|
||||
originAzimuth: 133
|
||||
currentAzimuth: 133
|
||||
azimuthSensivity: 15
|
||||
maxDistance: 150
|
||||
maxDistance: 60
|
||||
minDistance: 5
|
||||
moveClamper: 1
|
||||
originDistance: 120
|
||||
originTargetPos: {x: -37.685005, y: 27, z: 29.893412}
|
||||
moveClamper: 0.55
|
||||
originDistance: 40
|
||||
originTargetPos: {x: 9.714996, y: 57.3, z: 236.99342}
|
||||
originTargetRot: {x: -0, y: 0, z: 0}
|
||||
currentDistance: 150
|
||||
currentDistance: 40
|
||||
target: {fileID: 0}
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace WI
|
||||
public float distance;
|
||||
public float elevation;
|
||||
public float azimuth;
|
||||
public int floorIndex;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -426,7 +426,7 @@ namespace WI
|
||||
public void CameraPerspectiveView()
|
||||
{
|
||||
var saveData = saveTargetPositions[ViewMode.PerspectiveView];
|
||||
option.maxDistance = 150f;
|
||||
option.maxDistance = 60f;
|
||||
|
||||
if (saveData == null)
|
||||
{
|
||||
@@ -476,7 +476,7 @@ namespace WI
|
||||
onFirstPersonViewRay?.Invoke(hit);
|
||||
}
|
||||
}
|
||||
public void SaveTargetPosition()
|
||||
public void SaveTargetPosition(int floorIndex)
|
||||
{
|
||||
var cameraEntity = new CameraEntity();
|
||||
cameraEntity.x = option.target.position.x;
|
||||
@@ -485,6 +485,7 @@ namespace WI
|
||||
cameraEntity.distance = option.currentDistance;
|
||||
cameraEntity.azimuth = option.currentAzimuth;
|
||||
cameraEntity.elevation = option.currentElevation;
|
||||
cameraEntity.floorIndex = floorIndex;
|
||||
|
||||
saveTargetPositions[viewMode] = cameraEntity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user