Browse Source

有边界限制

lvjincheng 4 years ago
parent
commit
246aeb1740
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Assets/BowArrow/Scripts/Game/BowCamera.cs

+ 1 - 1
Assets/BowArrow/Scripts/Game/BowCamera.cs

@@ -286,7 +286,7 @@ public class BowCamera : MonoBehaviour
                 pos = camera.WorldToViewportPoint(pos);
                 if (pos.x >= 0) {
                     rangeRotateY[0] = i;
-                    rangeRotateY[1] = -i;
+                    rangeRotateY[1] = -i - 4;
                     break;
                 }
             }