lvjincheng hace 4 años
padre
commit
7a150c1761

+ 6 - 6
Assets/BowArrow/Scenes/Game.unity

@@ -7641,7 +7641,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.710144, y: 0}
+  m_AnchoredPosition: {x: 28.580645, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &589339043
@@ -9901,7 +9901,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.710144, y: 0}
+  m_AnchoredPosition: {x: 28.580645, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &694545845
@@ -15694,7 +15694,7 @@ MonoBehaviour:
   m_HandleRect: {fileID: 1596465377}
   m_Direction: 0
   m_MinValue: 1
-  m_MaxValue: 5
+  m_MaxValue: 100
   m_WholeNumbers: 0
   m_Value: 1
   m_OnValueChanged:
@@ -15890,7 +15890,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.710144, y: 0}
+  m_AnchoredPosition: {x: 28.580645, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1218454288
@@ -17871,7 +17871,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 49.420288, y: 0}
+  m_AnchoredPosition: {x: 47.16129, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1338115114
@@ -25875,7 +25875,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 79.42029, y: 0}
+  m_AnchoredPosition: {x: 77.161285, y: 0}
   m_SizeDelta: {x: 0, y: 40}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1845023679

+ 3 - 0
Assets/BowArrow/Scripts/Debug/DebugArrowOffsetAngle.cs

@@ -8,16 +8,19 @@ public class DebugArrowOffsetAngle : MonoBehaviour
     [SerializeField] Slider slider;
     [SerializeField] Text text;
     public static DebugArrowOffsetAngle ins;
+    public static float recordValue = 1f;
 
     void Start()
     {
         ins = this;    
 
+        slider.value = recordValue;
         SetTextBySlider(slider.value);
         slider.onValueChanged.AddListener(SetTextBySlider);
     }
 
     void SetTextBySlider(float value) {
+        recordValue = value;
         text.text = "误差缩放比例: \n" + value.ToString("#0.000");
     }
 

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

@@ -46,7 +46,7 @@ public class ArmBow : MonoBehaviour
         ins = this;
         //initdata
         int currentShootLevel = LoginMgr.myUserInfo.shootLevel;
-        int[] shootBackTimes = {0, 1, 5};
+        int[] shootBackTimes = {0, 2, 5};
         shootBackTime = shootBackTimes[currentShootLevel];
     }