Browse Source

WildAttack鼠标激活时,弓不要移动

lvjincheng 2 years ago
parent
commit
b4060ea605
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Assets/DuckHunter/Scripts/SmartBowController.cs

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

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