protected override void OnEnd() { base.OnEnd(); ShellCreated = null; if (ShellShieldUI != null) { User.BManager.battleUIManager.RemoveUIElement(ShellShieldUI); ShellShieldUI = null; } }
protected override void OnStart() { base.OnStart(); ShellCreated = null; if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true) { ShellShieldUI = new ShellShieldActionCommandUI(actionCommand as ShellShieldCommand); User.BManager.battleUIManager.AddUIElement(ShellShieldUI); } }