summaryrefslogtreecommitdiff
path: root/Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs')
-rw-r--r--Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs b/Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs
new file mode 100644
index 00000000..2da01daf
--- /dev/null
+++ b/Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs
@@ -0,0 +1,19 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+// 残影特效
+public class ActionDisableGhost : ActionBase
+{
+ CharacterGhostEffect m_GhostEffect;
+
+ public ActionDisableGhost(CharacterGhostEffect effect)
+ {
+ m_GhostEffect = effect;
+ }
+
+ public override void Execute()
+ {
+ m_GhostEffect.IsEnable = false;
+ }
+}