zhengchen il y a 1 an
Parent
commit
d41d04445c
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 3 3
      Assets/Scripts/Comp/BattleMainComp.cs
  2. 1 1
      Assets/Scripts/Comp/CockMoveComp.cs

+ 3 - 3
Assets/Scripts/Comp/BattleMainComp.cs

@@ -28,9 +28,9 @@ namespace Comp
             SoundCore.Instance.PlaySound(SoundType.BattleBgmMain, SoundCtrl.BattleBgmPlayer, true, true);
             MessageComp.Instance.OnBattleClientMsg += OnClientMsg;
             MessageComp.Instance.OnBattlePlayerQuit += OnPlayerQuit;
-#if UNITY_EDITOR
-            _debug = true;
-#endif
+// #if UNITY_EDITOR
+//             _debug = true;
+// #endif
             if (_debug)
             {
                 var logs =

+ 1 - 1
Assets/Scripts/Comp/CockMoveComp.cs

@@ -14,7 +14,7 @@ namespace Comp
 
         private float _movingTime; // 水平运动时间
 
-        private const float MovingSpeed = 0.5f; // 移动速度
+        private const float MovingSpeed = 1f; // 移动速度
 
         private const float MovingTime = 0.4f; // 移动时间