diff options
author | chai <chaifix@163.com> | 2020-10-22 08:57:28 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-22 08:57:28 +0800 |
commit | 8268e4e308bd110dfea4ad849a7ff74e66951349 (patch) | |
tree | fdfa55d7272092df599c107d4a282357cce325c5 /Assets/Scripts/AbilitySystem/Actions/ActionEffects/ActionDisableGhost.cs | |
parent | df84ee7e568fa500fec7b1865b966345b814e68f (diff) |
*残影特效
Diffstat (limited to 'Assets/Scripts/AbilitySystem/Actions/ActionEffects/ActionDisableGhost.cs')
-rw-r--r-- | Assets/Scripts/AbilitySystem/Actions/ActionEffects/ActionDisableGhost.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Assets/Scripts/AbilitySystem/Actions/ActionEffects/ActionDisableGhost.cs b/Assets/Scripts/AbilitySystem/Actions/ActionEffects/ActionDisableGhost.cs new file mode 100644 index 00000000..2da01daf --- /dev/null +++ b/Assets/Scripts/AbilitySystem/Actions/ActionEffects/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; + } +} |