Browse Source

关闭Debug

zhengchen 1 year ago
parent
commit
d41d04445c
2 changed files with 4 additions and 4 deletions
  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);
             SoundCore.Instance.PlaySound(SoundType.BattleBgmMain, SoundCtrl.BattleBgmPlayer, true, true);
             MessageComp.Instance.OnBattleClientMsg += OnClientMsg;
             MessageComp.Instance.OnBattleClientMsg += OnClientMsg;
             MessageComp.Instance.OnBattlePlayerQuit += OnPlayerQuit;
             MessageComp.Instance.OnBattlePlayerQuit += OnPlayerQuit;
-#if UNITY_EDITOR
-            _debug = true;
-#endif
+// #if UNITY_EDITOR
+//             _debug = true;
+// #endif
             if (_debug)
             if (_debug)
             {
             {
                 var logs =
                 var logs =

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

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