Prechádzať zdrojové kódy

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

lvjincheng 2 rokov pred
rodič
commit
b4060ea605

+ 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);
         }