Jelajahi Sumber

有边界限制

lvjincheng 3 tahun lalu
induk
melakukan
246aeb1740
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
                 }
             }