diff options
author | chai <chaifix@163.com> | 2020-10-26 08:36:27 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-26 08:36:27 +0800 |
commit | 3d3f0b7ede44569ecaab523350feede9fee383c3 (patch) | |
tree | 9df6c24adafa7e77287f9f8351746d8da692bf4f /Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs | |
parent | 65ed53a40f990e895305ff17a5e48e3cd6b8785b (diff) |
* ability system
Diffstat (limited to 'Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs')
-rw-r--r-- | Assets/Scripts/AbilitySystem/Actions/EffectActions/ActionDisableGhost.cs | 19 |
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; + } +} |