lvjincheng 3 سال پیش
والد
کامیت
934d8b8a8b
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      Assets/BowArrow/Scripts/Game/ArmBow.cs
  2. 2 2
      Assets/JC/Untiy/Picker/DatePicker/DatePickerGroup.cs

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

@@ -151,7 +151,7 @@ public class ArmBow : MonoBehaviour
     }
 
     public void ADS_fire() {
-        if (!IsCanShoot() || banShoot || GameMgr.ins.gamePause || banLogic) return;
+        if (!IsCanShoot() || banShoot || GameMgr.ins.gamePause || banLogic || GameMgr.ins.gameOver) return;
         GameMgr.ins.gameMode.onBowShoot();
         this.phase = 3;
         shoot();

+ 2 - 2
Assets/JC/Untiy/Picker/DatePicker/DatePickerGroup.cs

@@ -19,8 +19,8 @@ namespace JC.Unity.Picker
         void Awake()
         {
             minDate = new DateTime(1950, 1, 1, 0, 0, 0);
-            maxDate = new DateTime(2050, 1, 1, 0, 0, 0);
-            selectDate = DateTime.Now;
+            maxDate = DateTime.Now;
+            selectDate = new DateTime(2000, 1, 1, 0, 0, 0);
             Init();
         }
         void Start()