Jelajahi Sumber

WildAttack鼠标激活时,弓不要动

lvjincheng 2 tahun lalu
induk
melakukan
825d0e3338

+ 0 - 1
Assets/DuckHunter/Scripts/SmartBowController.cs

@@ -21,7 +21,6 @@ namespace DuckHunter
 
         public void OnRotationUpdate(Quaternion rotation)
         {
-            if (SB_EventSystem.ins.simulateMouseIsAwaked) return;
             GameManager.Instance?.OnModuleRotationUpdate(rotation);
         }
 

+ 1 - 0
Assets/WildAttack/Scripts/SmartBowController.cs

@@ -23,6 +23,7 @@ namespace WildAttack
 
         public void OnRotationUpdate(Quaternion rotation)
         {
+            if (SB_EventSystem.ins.simulateMouseIsAwaked) return;
             GameMananger.GetInstance().OnRotationUpdate(rotation);
         }