diff --git a/meng_yao/Assets/Scenes/personalinformation_slices.unity b/meng_yao/Assets/Scenes/personalinformation_slices.unity index b3bf01c6..ec8fd49f 100644 --- a/meng_yao/Assets/Scenes/personalinformation_slices.unity +++ b/meng_yao/Assets/Scenes/personalinformation_slices.unity @@ -1779,9 +1779,9 @@ RectTransform: m_Father: {fileID: 1053959665} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 416.50003, y: -204.95} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 222, y: 398} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &691015019 @@ -3304,9 +3304,9 @@ RectTransform: m_Father: {fileID: 1053959665} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 712.1667, y: -204.95} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 222, y: 398} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1569484610 @@ -3457,9 +3457,9 @@ RectTransform: m_Father: {fileID: 1053959665} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 120.833336, y: -204.95} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 222, y: 398} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1715606638 diff --git a/meng_yao/Assets/communal/camera/CameraControl.cs b/meng_yao/Assets/communal/camera/CameraControl.cs index 5f7e2321..cd642d2e 100644 --- a/meng_yao/Assets/communal/camera/CameraControl.cs +++ b/meng_yao/Assets/communal/camera/CameraControl.cs @@ -88,12 +88,7 @@ public class CameraControl : MonoBehaviour Vector3 cha = m_oneFingerDragStartPos - GetWorldPos(fingerPos); Vector3 newP = m_cam.transform.position; newP.x = newP.x + cha.x; - if (newP.x > 17) { newP.x = 17; } - if (newP.x < -10) { newP.x = -10; } newP.y = newP.y + cha.y; - if (newP.y > 1.4f) { newP.y = 1.4f; } - if (newP.y < 0) { newP.y = 0; } - m_selfTrans.position = newP; }