Эх сурвалжийг харах

准备改漂浮效果写法

SZAND\msx_2 1 жил өмнө
parent
commit
4728ae4928

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

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