Forráskód Böngészése

该变量禁止序列化

lvjincheng 4 éve
szülő
commit
af19c8bcf4
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Assets/BowArrow/Scripts/Game/GameAssistUI.cs

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

@@ -136,7 +136,7 @@ public class GameAssistUI : MonoBehaviour
 
     // ------ 发射加速功能 ------
 
-    public int shootScaleValue = 1;
+    [System.NonSerialized] public int shootScaleValue = 1;
     Sequence seq2 = null;
     bool scaleShootOn = false; //该功能是否处于打开状态