lvjincheng 4 năm trước cách đây
mục cha
commit
cea32f767e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Assets/BowArrow/Scripts/Game/Arrow.cs

+ 1 - 1
Assets/BowArrow/Scripts/Game/Arrow.cs

@@ -350,7 +350,7 @@ public class Arrow : MonoBehaviour
     }
 
     //进入下一轮射击
-    public bool hasDoneNextShoot = false;
+    [NonSerialized] public bool hasDoneNextShoot = false;
     public void nextShoot() {
         if (hasDoneNextShoot) return;
         hasDoneNextShoot = true;