@@ -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: