فهرست منبع

准备改漂浮效果写法

SZAND\msx_2 1 سال پیش
والد
کامیت
4728ae4928
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      ActionTowerDefense/Assets/Scripts/Spirits/Spirits.cs

+ 3 - 0
ActionTowerDefense/Assets/Scripts/Spirits/Spirits.cs

@@ -12,6 +12,8 @@ public class Spirits : MonoBehaviour
         Invisible = 3,  //隐身
     }
 
+    public GameObject FloatEffect;  //漂浮特效预制体
+
     public SpiritType currentSpirit = SpiritType.Float;
 
 
@@ -20,6 +22,7 @@ public class Spirits : MonoBehaviour
         switch (st)
         {
             case SpiritType.Float:
+                //特效用预制体做
                 break;
             case SpiritType.Dash:
                 break;