Browse Source

参数插错位置了

WGL 3 tháng trước cách đây
mục cha
commit
7fa2485460
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ActionTowerDefense/Assets/Scripts/Characters/Enemy.cs

+ 1 - 1
ActionTowerDefense/Assets/Scripts/Characters/Enemy.cs

@@ -38,10 +38,10 @@ public class Enemy : MoveCharacter
 {
     [Header("敌方单位属性")]
     [LabelText("击杀提供的经验值")]
+    public int exp;
     public EnemyTag tag;
     [LabelText("死亡特效")]
     public GameObject dieEffect;
-    public int exp;
     public string name;
     public int baseSortingOrder;
     int sortingOrder = 0;