Browse Source

该变量禁止序列化

lvjincheng 4 năm trước cách đây
mục cha
commit
af19c8bcf4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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; //该功能是否处于打开状态