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