소스 검색

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

lvjincheng 2 년 전
부모
커밋
b4060ea605
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
         }