From 8268e4e308bd110dfea4ad849a7ff74e66951349 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 22 Oct 2020 08:57:28 +0800 Subject: =?UTF-8?q?*=E6=AE=8B=E5=BD=B1=E7=89=B9=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Actions/ActionEffects/ActionDisableGhost.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Assets/Scripts/AbilitySystem/Actions/ActionEffects/ActionDisableGhost.cs (limited to 'Assets/Scripts/AbilitySystem/Actions/ActionEffects/ActionDisableGhost.cs') 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; + } +} -- cgit v1.1-26-g67d0