lvjincheng il y a 4 ans
Parent
commit
f91564336f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Assets/BowArrow/Scripts/Bluetooth/AimHandler.cs

+ 1 - 1
Assets/BowArrow/Scripts/Bluetooth/AimHandler.cs

@@ -337,7 +337,7 @@ public class AimHandler : MonoBehaviour
         // 记录一些旋转角---end
     }   
 
-    public bool lerpForRotation = false;
+    [NonSerialized] public bool lerpForRotation = true;
     public void Update()
     {
         if (controlObj && !banControlObjRotate)