Browse Source

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

lvjincheng 2 năm trước cách đây
mục cha
commit
b4060ea605
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
         }