diff --git a/xiaofang/Assets/Script/Character/PlayerMovement_Jpystick.cs b/xiaofang/Assets/Script/Character/PlayerMovement_Jpystick.cs index abbd37c7..78f51e6f 100644 --- a/xiaofang/Assets/Script/Character/PlayerMovement_Jpystick.cs +++ b/xiaofang/Assets/Script/Character/PlayerMovement_Jpystick.cs @@ -136,7 +136,7 @@ public class PlayerMovement_Jpystick : MonoBehaviour, IDragHandler } public void HandleViewSwipe() { - if (Mathf.Abs(mainCamera.transform.eulerAngles.x - transform.eulerAngles.x) < 270 && Mathf.Abs(mainCamera.transform.eulerAngles.x - transform.eulerAngles.x) > 90) + if (Mathf.Abs(mainCamera.transform.eulerAngles.x - transform.eulerAngles.x) < 260 && Mathf.Abs(mainCamera.transform.eulerAngles.x - transform.eulerAngles.x) > 100) { cameraControl.ResetTargetOffsets(); }