lvjincheng před 3 roky
rodič
revize
cea32f767e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;