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