Bladeren bron

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

lvjincheng 2 jaren geleden
bovenliggende
commit
b4060ea605
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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);
         }